[FFmpeg-devel] [PATCH 1/5] fftools/ffmpeg_demux: also set -ch_layout avcodec option for -ch_layout CLI param
Anton Khirnov
anton at khirnov.net
Mon May 27 10:57:54 EEST 2024
Quoting Anton Khirnov (2024-05-27 09:51:49)
> I don't like modifying OptionsContext in its consumers (it's const for a
> reason), and it's probably not even necessary - if the semantics of the
> option is "override demuxer-reported channel layout", then you can just
> override the demuxer-reported channel layout (similarly to how
> guess_input_channel_layout() does it) and it will be communicated to the
> decoder automagically.
I see that's pretty much what you did in v2, so disregard the above
email.
--
Anton Khirnov
More information about the ffmpeg-devel
mailing list