[FFmpeg-devel] [PATCH] cmdutils: apply option to codec and format contexts if possible.

Paul B Mahol onemda at gmail.com
Thu Oct 18 11:32:24 CEST 2012


On 10/18/12, Michael Niedermayer <michaelni at gmx.at> wrote:
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> ---
>  cmdutils.c |   19 +++++++++++++------
>  1 file changed, 13 insertions(+), 6 deletions(-)
>

What if option is set twice, Is there way to give different
value for different contexts? Yes that feature may not be
much useful but whatever....

There should be some kind of messages that option
is going to be used for both contexts (under verbose or
something like that).
In future someone could do similar thing and this could
cause strange bugs.

Or alternatively add some kind of flag - currently
muxers/encoders and demuxers/decoders share same flag.


More information about the ffmpeg-devel mailing list