diff options
author | wm4 <wm4@nowhere> | 2017-01-21 17:19:01 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-01-21 17:19:01 +0100 |
commit | 73858bb0ccac91b6a529c8dd4b825f47aa28c4b7 (patch) | |
tree | 2baf1e7a267976e51ecbb2a08e02b0c430ea8d59 /stream/stream.h | |
parent | 085dfdea3246e4d0e984f9f3ccba2959df89842d (diff) | |
download | mpv-73858bb0ccac91b6a529c8dd4b825f47aa28c4b7.tar.bz2 mpv-73858bb0ccac91b6a529c8dd4b825f47aa28c4b7.tar.xz |
player: remove --stream-capture option/property
This was excessively useless, and I want my time back that was needed to
explain users why they don't want to use it.
It captured the byte stream only, and even for types of streams it was
designed for (like transport streams), it was rather questionable.
As part of the removal, un-inline demux_run_on_thread() (which has only
1 call-site now), and sort of reimplement --stream-dump to write the
data directly instead of using the removed capture code.
(--stream-dump is also very useless, and I struggled coming up with an
explanation for it in the manpage.)
Diffstat (limited to 'stream/stream.h')
-rw-r--r-- | stream/stream.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/stream/stream.h b/stream/stream.h index 7d44e30eae..f309ab1b86 100644 --- a/stream/stream.h +++ b/stream/stream.h @@ -203,9 +203,6 @@ typedef struct stream { struct mp_cancel *cancel; // cancellation notification - FILE *capture_file; - char *capture_filename; - struct stream *uncached_stream; // underlying stream for cache wrapper // Includes additional padding in case sizes get rounded up by sector size. @@ -214,8 +211,6 @@ typedef struct stream { int stream_fill_buffer(stream_t *s); -void stream_set_capture_file(stream_t *s, const char *filename); - struct mp_cache_opts; bool stream_wants_cache(stream_t *stream, struct mp_cache_opts *opts); int stream_enable_cache_defaults(stream_t **stream); |