summaryrefslogtreecommitdiffstats
path: root/stream/stream.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-08-02 22:47:56 +0200
committerwm4 <wm4@nowhere>2012-08-02 23:22:52 +0200
commit7059c15f4af047d29bed9ea8b17a3702980b8442 (patch)
treeb66abd6b9d1f87c2dda92fc926419ec1928a2597 /stream/stream.h
parente48b21dd87468245268c470b250c3cdd5a1bbfae (diff)
downloadmpv-7059c15f4af047d29bed9ea8b17a3702980b8442.tar.bz2
mpv-7059c15f4af047d29bed9ea8b17a3702980b8442.tar.xz
mplayer: rip out --capture support
While this was an interesting idea, it wasn't actually useful. Basically it dumped the raw data (as requested by the demuxer) into a file. The result is only useful if the file format was raw or maybe some MPEG packet stream, but not with most modern file formats.
Diffstat (limited to 'stream/stream.h')
-rw-r--r--stream/stream.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/stream/stream.h b/stream/stream.h
index 828c364d40..0c17f02389 100644
--- a/stream/stream.h
+++ b/stream/stream.h
@@ -172,7 +172,6 @@ typedef struct stream {
streaming_ctrl_t *streaming_ctrl;
#endif
unsigned char buffer[STREAM_BUFFER_SIZE>STREAM_MAX_SECTOR_SIZE?STREAM_BUFFER_SIZE:STREAM_MAX_SECTOR_SIZE];
- FILE *capture_file;
} stream_t;
#ifdef CONFIG_NETWORKING
@@ -181,7 +180,6 @@ typedef struct stream {
int stream_fill_buffer(stream_t *s);
int stream_seek_long(stream_t *s, off_t pos);
-void stream_capture_do(stream_t *s);
#ifdef CONFIG_STREAM_CACHE
int stream_enable_cache(stream_t *stream,int size,int min,int prefill);