aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/intrax8.c
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2024-03-23 16:10:22 +0100
committerMarton Balint <cus@passwd.hu>2024-03-30 20:59:15 +0100
commit2df2b4067ed01b9076a5dda073521551a32336cd (patch)
tree8870a4c9b4b17d98c35781ca3eee3f613f42574b /libavcodec/intrax8.c
parentff215d9559087707235c2d63485462ecb07c4a29 (diff)
downloadffmpeg-2df2b4067ed01b9076a5dda073521551a32336cd.tar.gz
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>
Diffstat (limited to 'libavcodec/intrax8.c')
0 files changed, 0 insertions, 0 deletions