From b6c40953cbb640d8ec9e3fa9862e243c0dbb1d17 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Mon, 16 May 2016 13:58:14 +0200 Subject: csputils: add AVCOL_TRC_SMPTEST2084 support This now lets us auto-detect appropriately tagged HDR content using FFmpeg's new TRC entries (when available). Hidden behind an #if because Libav stable doesn't have it yet. --- wscript | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index 6ff38d6a0c..684fdf0465 100644 --- a/wscript +++ b/wscript @@ -502,7 +502,13 @@ FFmpeg/Libav libraries. You need at least {0}. Aborting.".format(libav_versions_ 'func': check_statement('libavutil/frame.h', '(void)offsetof(AVFrame, hw_frames_ctx)', use='libav'), - }, + }, { + 'name': 'avutil-st2084', + 'desc': 'libavutil AVCOL_TRC_SMPTEST2084', + 'func': check_statement('libavutil/pixfmt.h', + 'AVCOL_TRC_SMPTEST2084', + use='libav'), + } ] audio_output_features = [ -- cgit v1.2.3