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

mark cox melbournemark+ffmpeg
Tue Jul 17 07:06:34 CEST 2007


On 15/07/07, V?ctor Paesa <wzrlpy at arsystel.com> wrote:
>
> V?ctor Paesa writes:
>
> > Cropping PNGs fails:
>
> [...]
>
> > The reason is that av_picture_crop()/av_picture_pad() only work with YUV
> > planar pixel formats.
> >



What about if swscale is disabled?

> 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.
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel




More information about the ffmpeg-devel mailing list