[FFmpeg-devel] [PATCH]Force tv range for mpeg4 gray output

Carl Eugen Hoyos cehoyos at ag.or.at
Sun May 17 09:54:34 CEST 2015


Michael Niedermayer <michaelni <at> gmx.at> writes:

> > -    if (CONFIG_GRAY && (avctx->flags & CODEC_FLAG_GRAY))
> > +    if (CONFIG_GRAY && (avctx->flags & CODEC_FLAG_GRAY)) {
> > +        if (avctx->color_range == AVCOL_RANGE_UNSPECIFIED)
> > +            avctx->color_range = AVCOL_RANGE_MPEG;
> >          return AV_PIX_FMT_GRAY8;
> > +    }
> 
> LGTM

The patch was merged.

Thank you, Carl Eugen



More information about the ffmpeg-devel mailing list