Hi, On Wed, Sep 14, 2016 at 5:09 PM, Vittorio Giovara < vittorio.giov...@gmail.com> wrote:
> Allows to use values returned from API and from ffprobe directly. > > Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> > --- > libavfilter/vf_colorspace.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/libavfilter/vf_colorspace.c b/libavfilter/vf_colorspace.c > index 7e87cd8..b993928 100644 > --- a/libavfilter/vf_colorspace.c > +++ b/libavfilter/vf_colorspace.c > @@ -1039,7 +1039,9 @@ static const AVOption colorspace_options[] = { > { "range", "Output color range", > OFFSET(user_rng), AV_OPT_TYPE_INT, { .i64 = > AVCOL_RANGE_UNSPECIFIED }, > AVCOL_RANGE_UNSPECIFIED, AVCOL_RANGE_NB - 1, FLAGS, "rng" }, > + ENUM("tv", AVCOL_RANGE_MPEG, "rng"), > ENUM("mpeg", AVCOL_RANGE_MPEG, "rng"), > + ENUM("pc", AVCOL_RANGE_JPEG, "rng"), > ENUM("jpeg", AVCOL_RANGE_JPEG, "rng"), > > { "primaries", "Output color primaries", > -- > 2.9.3 OK, and pushed. Ronald _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel