[FFmpeg-devel] [PATCH] swscale: Fix NV12/NV21 support

Michael Niedermayer michaelni
Thu May 21 05:30:19 CEST 2009


On Wed, May 20, 2009 at 10:03:05PM +0300, Ville Syrj?l? wrote:
> Hi,
> 
> NV12/NV21 support is currently broken due to the introduction of
> planarCopy. The logic for selecting planarCopy assumes that all
> planar YUV formats with the same subsampling factors are compatible.
> That is not the case for NV12/NV21. The simple solution is to
> never use planarCopy for NV12/NV21.

patch probably ok
i assume this fixes some values from swscale-example?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090521/95bccb48/attachment.pgp>



More information about the ffmpeg-devel mailing list