[FFmpeg-devel] [MPlayer-users] [BUG] swscaler conversion of yv12 to nv12 broken (fwd)

Carl Eugen Hoyos cehoyos
Sat Aug 1 23:33:07 CEST 2009


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

> > -                && c->chrDstVSubSample == c->chrSrcVSubSample))
> > +                && c->chrDstVSubSample == c->chrSrcVSubSample
> > +		&& dstFormat != PIX_FMT_NV12 && dstFormat != PIX_FMT_NV21
> > +		&& srcFormat != PIX_FMT_NV12 && srcFormat != PIX_FMT_NV21))
> >          {
> >              if (isPacked(c->srcFormat))
> >                  c->swScale= packedCopy;
> 
> without the tabs, ok

Patch applied.

Thank you for the analysis, Carl Eugen

Michael, should swscale-example cover nv12/nv21?
I do note see it in the output.




More information about the ffmpeg-devel mailing list