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.
> 
> Gyan

>  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 <ffm...@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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

"I am not trying to be anyone's saviour, I'm trying to think about the
 future and not be sad" - Elon Musk

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to