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

Paul B Mahol onemda at gmail.com
Sat Dec 16 12:12:21 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 ce089b7c4a..a58ef3b83b 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -3390,6 +3390,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
 
     /**
      * Group name of the codec implementation.
-- 
2.11.0



More information about the ffmpeg-devel mailing list