[vlc-commits] avcodec: map AVCOL_TRC_ARIB_STD_B67 to TRANSFER_FUNC_HLG

Steve Lhomme git at videolan.org
Sun Mar 5 23:56:14 CET 2017


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Fri Mar  3 17:18:21 2017 +0100| [b15a9772daeed8904876f3f700e09a0da8be2f18] | committer: Jean-Baptiste Kempf

avcodec: map AVCOL_TRC_ARIB_STD_B67 to TRANSFER_FUNC_HLG

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b15a9772daeed8904876f3f700e09a0da8be2f18
---

 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 5d07976..570d8e1 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;



More information about the vlc-commits mailing list