[FFmpeg-devel] [PATCH 01/24] avcodec: add color_range to AVCodec struct

Paul B Mahol onemda at gmail.com
Wed Dec 13 12:59:17 EET 2017


Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 libavcodec/avcodec.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 5db6a81320..be00bad528 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -3376,6 +3376,7 @@ typedef struct AVCodec {
     uint8_t max_lowres;                     ///< maximum value for lowres supported by the decoder
     const AVClass *priv_class;              ///< AVClass for the private context
     const AVProfile *profiles;              ///< array of recognized profiles, or NULL if unknown, array is terminated by {FF_PROFILE_UNKNOWN}
+    const enum AVColorRange *color_ranges;  ///< array of supported color ranges by encoder, or NULL if unknown, array is terminated by AVCOL_RANGE_UNSPECIFIED
 
     /*****************************************************************
      * No fields below this line are part of the public API. They
-- 
2.11.0



More information about the ffmpeg-devel mailing list