aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/mastering_display_metadata.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-18 20:45:46 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-22 01:05:59 +0200
commitce6af2df617f70d6947c7936f9fb462bf5546886 (patch)
tree83b07e8f8559fe3c36862e0764a2ab6d5f7be1d6 /libavutil/mastering_display_metadata.h
parentcd335de53f853087b45b53fa96b09ddf4ab01108 (diff)
downloadffmpeg-ce6af2df617f70d6947c7936f9fb462bf5546886.tar.gz
avcodec/pcm-blurayenc: Don't presume every channel layout to be native
The pcm_bluray encoder has AVCodec.ch_layouts set, so that ff_encode_preinit() checks that the channel layout in use is equivalent to one of the layouts from AVCodec.ch_layouts. Yet equivalent is not the same as identical; in particular, custom layouts equivalent to native layouts are possible (and necessary if one wants to use the name/opaque fields with an ordinary channel layout), so one must not simply use AVChannelLayout.u.mask. Use av_channel_layout_subset() instead. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil/mastering_display_metadata.h')
0 files changed, 0 insertions, 0 deletions