[FFmpeg-devel] [BUG] 1/2 Pad/crop fails for non YUVplanar pixformats

Víctor Paesa wzrlpy
Sat Jul 14 19:27:59 CEST 2007


V?ctor Paesa writes:

> Cropping PNGs fails:

[...]

> The reason is that av_picture_crop()/av_picture_pad() only work with YUV
> planar pixel formats.
> 
> This first patch logs an error in av_picture_crop()/av_picture_pad() when
> you attempt to use them with non YUV planar pixel formats.

ping ...

Regards,
V?ctor

P.S. I know that crop/pad are to be implemented via libavfilter, but is nice
to have a more descriptive error message.





More information about the ffmpeg-devel mailing list