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

Paul B Mahol onemda at gmail.com
Tue May 1 22:39:50 EEST 2018


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 fb0c6fae70..3a8f69243c 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -3433,6 +3433,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