1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-04 06:08:26 +02:00
FFmpeg/libavfilter
Marton Balint 2df2b4067e 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 7251f909721a570726775acf61b2b9c28a950c76, but this
is more of a regression of the avfilter channel layout conversion
(1f96db959c1235bb7079d354e09914a0a2608f62).

Signed-off-by: Marton Balint <cus@passwd.hu>
2024-03-30 20:59:15 +01:00
..
2023-11-18 19:55:42 +01:00
2023-11-18 19:55:42 +01:00
2023-11-16 20:53:18 +02:00
2023-11-16 20:53:18 +02:00
2024-03-29 09:09:40 +01:00
2024-01-01 20:12:52 +01:00
2024-01-01 20:12:52 +01:00
2024-02-16 21:34:38 +01:00
2024-03-27 01:04:54 +01:00
2024-01-07 13:59:02 +01:00
2024-01-01 20:12:52 +01:00