[FFmpeg-devel] [BUG] 1/2 Pad/crop fails for non YUVplanar pixformats
Víctor Paesa
wzrlpy
Tue Jul 17 10:52:00 CEST 2007
Hi,
mark cox said:
> On 15/07/07, V?ctor Paesa 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?
I'm afraid that won't change things, as av_picture_crop()/av_picture_pad()
do not use either img_convert() nor swscale.
>> 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