aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h2645_parse.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2022-03-28 14:58:48 -0300
committerJames Almer <jamrial@gmail.com>2022-04-05 09:19:59 -0300
commit7ccc9108032aeaa21b8ad91b201ed19c88b8d239 (patch)
tree8ac10a026bab4d5633bfd5e5f7f3ee111c5682fd /libavcodec/h2645_parse.h
parentfeb3b44c1c4681eac096316fde7309192fcecb18 (diff)
downloadffmpeg-7ccc9108032aeaa21b8ad91b201ed19c88b8d239.tar.gz
avformat/movenc: don't use mono layout when a front center label is expected
On output streams where a multichannel stream needs to be stored as one track per channel, each track will have a channel layout describing the position of the channel they contain. For the track with front center, the mov muxer was using the mov layout "mono" instead of the label for the front center position. Since our channel layout API considers front center == mono, we need to do some heuristics. To achieve this, we make sure all audio tracks contain streams with a single channel, and only one of them is front center. In that case, we write the front center label instead of signaling mono layout. Fixes the last part of ticket #2865 Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/h2645_parse.h')
0 files changed, 0 insertions, 0 deletions