From 1aab0376014ff7fc278a81847c989b3970aa0736 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Tue, 25 Jul 2017 23:06:27 +0200 Subject: vd_lavc: decode embedded ICC profiles Since these need to be refcounted, we throw them directly into struct mp_image instead of being part of mp_colorspace. Even though they would semantically make more sense in mp_colorspace, having them there is really awkward because mp_colorspace is passed around and stored a lot, and this way their lifetime is exactly tied to the lifetime of the mp_image associated with it. --- wscript | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index 99263b7ee5..a66e6eeb89 100644 --- a/wscript +++ b/wscript @@ -461,6 +461,12 @@ FFmpeg/Libav libraries. You need at least {0}. Aborting.".format(libav_versions_ 'func': check_statement('libavutil/frame.h', 'AV_FRAME_DATA_CONTENT_LIGHT_LEVEL', use='libav'), + }, { + 'name': 'avutil-icc-profile', + 'desc': 'libavutil ICC profile side data', + 'func': check_statement('libavutil/frame.h', + 'AV_FRAME_DATA_ICC_PROFILE', + use='libav'), }, ] -- cgit v1.2.3