[FFmpeg-devel] [PATCH] ffmpeg-opt: mark stream disable options as output-only

Michael Niedermayer michael at niedermayer.cc
Sun Dec 9 20:02:08 EET 2018


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

[...]
-- 
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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181209/4bfb08e3/attachment.sig>


More information about the ffmpeg-devel mailing list