summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorNiklas Haas <git@nand.wakku.to>2016-05-16 13:58:14 +0200
committerNiklas Haas <git@nand.wakku.to>2016-05-16 13:59:57 +0200
commitb6c40953cbb640d8ec9e3fa9862e243c0dbb1d17 (patch)
treed0e380d6cf2b88956f84b35e20f7efc036489e33 /wscript
parent887b2cc30ff13bf57404ddbc3abc86fdb2b5ad01 (diff)
downloadmpv-b6c40953cbb640d8ec9e3fa9862e243c0dbb1d17.tar.bz2
mpv-b6c40953cbb640d8ec9e3fa9862e243c0dbb1d17.tar.xz
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.
Diffstat (limited to 'wscript')
-rw-r--r--wscript8
1 files changed, 7 insertions, 1 deletions
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 = [