[FFmpeg-devel] [PATCH]Allow to encode yuvj422 and yuvj444 with libx264

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Sep 21 14:54:56 CEST 2013


Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:

> > Attached patch allows to encode to yuvj422p and 
> yuvj444p just like yuvj420p.
> 
> Seems correct to me.

Merged by Michael

> > -  x4->params.vui.b_fullrange = avctx->pix_fmt == AV_PIX_FMT_YUVJ420P;
> > +  x4->params.vui.b_fullrange = (avctx->pix_fmt == AV_PIX_FMT_YUVJ420P ||

> Nit: IMHO adding the () is a bit overkill.

Yes, I removed them.

Thank you, Carl Eugen



More information about the ffmpeg-devel mailing list