[vlc-devel] [PATCH 4/4] avcodec: map AVCOL_TRC_ARIB_STD_B67 to TRANSFER_FUNC_HLG
Steve Lhomme
robux4 at videolabs.io
Fri Mar 3 17:18:21 CET 2017
---
modules/codec/avcodec/video.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index 5d07976aa3..570d8e101b 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -226,6 +226,11 @@ static int lavc_GetVideoFormat(decoder_t *dec, video_format_t *restrict fmt,
case AVCOL_TRC_BT2020_12:
fmt->transfer = TRANSFER_FUNC_BT2020;
break;
+#if LIBAVUTIL_VERSION_CHECK( 55, 14, 0, 31, 100)
+ case AVCOL_TRC_ARIB_STD_B67:
+ fmt->transfer = TRANSFER_FUNC_ARIB_B67;
+ break;
+#endif
#if LIBAVUTIL_VERSION_CHECK( 55, 17, 0, 37, 100)
case AVCOL_TRC_SMPTE2084:
fmt->transfer = TRANSFER_FUNC_SMPTE_ST2084;
--
2.11.1
More information about the vlc-devel
mailing list