diff options
author | Jan Ekström <jeebjp@gmail.com> | 2023-07-11 23:40:45 +0300 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2023-07-27 21:45:43 +0300 |
commit | 33358b862c8b796362218f12555e351aaf35a8f4 (patch) | |
tree | 8d88ac3a75114e590eb7e1a1e1965c151292540c /libavcodec/h264_slice.c | |
parent | 0ba719f726632d73592311615087a0d64aa2fb60 (diff) |
avcodec: move mastering display colour volume SEI handling to h2645_sei
This allows this common H.274 SEI to be parsed from both H.264
as well as HEVC, as well as probably from VVC in the future.
Generally attempts to keep the original code as similar as possible.
FATE test refererence changes only change the order of side data
export within a single frame. Nothing else seems to have changed.
Diffstat (limited to 'libavcodec/h264_slice.c')
-rw-r--r-- | libavcodec/h264_slice.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index 41bf30eefc..586ce20bba 100644 --- a/libavcodec/h264_slice.c +++ b/libavcodec/h264_slice.c @@ -439,6 +439,7 @@ int ff_h264_update_thread_context(AVCodecContext *dst, return ret; h->sei.common.unregistered.x264_build = h1->sei.common.unregistered.x264_build; + h->sei.common.mastering_display = h1->sei.common.mastering_display; if (!h->cur_pic_ptr) return 0; |