Files
ffmpeg/libavfilter
Marton Balint aae59be400 avfilter/buffersrc: fix overriding unknown channel layouts with negotiated one
Fixes ffplay playback of unknown layouts, when SDL directly supports the audio
format, such as:

ffplay -f lavfi anullsrc=cl=2C,aformat=s16

Without the patch, "Channel layout change is not supported" errors are
generated because buffersrc (unknown 2 channel) and buffersink (stereo)
negotiated a stereo layout, but the stereo layout was never stored in the
BufferSourceContext.

This fixes a regression of 7251f90972, but this
is more of a regression of the avfilter channel layout conversion
(1f96db959c).

Signed-off-by: Marton Balint <cus@passwd.hu>
(cherry picked from commit 2df2b4067e)
2024-03-30 21:57:43 +01:00
..
2022-12-19 20:43:58 +01:00
2023-02-19 18:32:07 +01:00
2022-12-08 13:03:42 +01:00
2022-10-04 11:55:03 +02:00
2022-11-09 17:39:00 +01:00
2023-02-14 19:09:19 +00:00