aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/riscv/float_dsp_init.c
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2024-05-18 03:08:31 +0200
committerMarton Balint <cus@passwd.hu>2024-05-27 21:46:47 +0200
commit4bfecde9b9b25568f10135a507b44d1bb623c66b (patch)
tree6239a17bec888e67ecc545ff03cefc3968110c91 /libavutil/riscv/float_dsp_init.c
parent44f7f6e010d48aae7e3eb5442d363e622f7bd35a (diff)
downloadffmpeg-4bfecde9b9b25568f10135a507b44d1bb623c66b.tar.gz
fftools/ffmpeg_demux: honor -ch_layout options for overriding input stream channel layout
The code only set the channel layout of the AVFormatContext, so the user could not override the channel layout if the demuxer did not have such parameter. This used to work via the respective AVCodecContext option, but since 639c2f00497257cb60ecaeeac1aacfa80df3be06 it no longer gets passed to the decoders. It is actually better if we set it manually, instead of using the codec option because that way we can also override it on the stream level, so it will also work for stream copy or bitstream filtering. We don't allow changing the number of channels, because that can cause unexpected results. We disable layout guessing, if a channel layout is specified. Fixes ticket #11016. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavutil/riscv/float_dsp_init.c')
0 files changed, 0 insertions, 0 deletions