From 73858bb0ccac91b6a529c8dd4b825f47aa28c4b7 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 21 Jan 2017 17:19:01 +0100 Subject: 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.) --- player/loadfile.c | 1 - 1 file changed, 1 deletion(-) (limited to 'player/loadfile.c') diff --git a/player/loadfile.c b/player/loadfile.c index 69647d8929..524ff8f1b2 100644 --- a/player/loadfile.c +++ b/player/loadfile.c @@ -796,7 +796,6 @@ static void *open_demux_thread(void *ctx) struct demuxer_params p = { .force_format = mpctx->open_format, - .allow_capture = true, .stream_flags = mpctx->open_url_flags, .initial_readahead = true, }; -- cgit v1.2.3