[FFmpeg-devel] [PATCH] avcodec: set AV_CODEC_CAP_CHANNEL_CONF on decoders which set their own channels

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Sun Dec 6 00:51:19 EET 2020


Michael Niedermayer:
> On Sat, Dec 05, 2020 at 11:41:23AM +0100, Hendrik Leppkes wrote:
>> The decoders in this set either have a fixed channel count, or read it
>> from the bitstream, and thus do not require the channel count as
>> external information.
>>
>> Fixes various regressions since
>> 81503ac58a763a36b1f57264013b1e76acb62b68, which requires a valid channel
>> count for decoders which do not set this capability.
> 
> patch probably ok
> 
> its a bit concerning that all these where missed by fate though
> 
I noticed that mlp/truehd now gave warnings, but somehow the tests
nevertheless worked. Still don't know why.

- Andreas


More information about the ffmpeg-devel mailing list