[FFmpeg-devel] [PATCH] ffmpeg-opt: mark stream disable options as output-only
ffmpeg at gyani.pro
Sun Dec 9 20:33:53 EET 2018
On 09-12-2018 11:32 PM, Michael Niedermayer wrote:
> On Sat, Dec 08, 2018 at 06:56:10PM +0530, Gyan Doshi wrote:
>> I see users with these options set in front of input.
>> Stream disabling for input requires -discard though one packet tends to get
>> smuggled across. But that's for another patch.
>> ffmpeg_opt.c | 8 ++++----
>> 1 file changed, 4 insertions(+), 4 deletions(-)
>> 5c75ce498cd80cd36b868e1401c3700bb7363b94 0001-ffmpeg-opt-mark-stream-disable-options-as-output-onl.patch
>> From f0e78555d6ea5510922e2d543c9b69dff7d480b5 Mon Sep 17 00:00:00 2001
>> From: Gyan Doshi <ffmpeg at gyani.pro>
>> Date: Sat, 8 Dec 2018 18:49:34 +0530
>> Subject: [PATCH] ffmpeg-opt: mark stream disable options as output-only
>> -vn/an/sn/dn are only checked by open_output_file()
> why not fix it so it works for input too ?
> I thought it worked in the past but apparently not for the version i tried
> but its a intuitiv thing to use to discard a stream at demuxer/parser stage
ok, will look into it.
More information about the ffmpeg-devel