[FFmpeg-devel] [PATCH] turn off deinterlace if not supported by avpicture_deinterlace

Michael Niedermayer michaelni
Sun Oct 18 23:42:25 CEST 2009

On Sun, Oct 18, 2009 at 07:53:12PM +0300, Maksym Veremeyenko wrote:
> Hi,
> Attached patch turn off deinterlace flag is avpicture_deinterlace do not 
> support given pixel format. Try to avoid message error "Deinterlacing 
> failed\n" for each frame.

deinterlace should not fail, thats a bug
also deinterlace should be a filter not hacked into ffmpeg.c
being a filter format convertion would be trivial

i wont review this as the code that is changed shouldnt exist in that

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I hate to see young programmers poisoned by the kind of thinking
Ulrich Drepper puts forward since it is simply too narrow -- Roman Shaposhnik
-------------- 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/20091018/2207ed2c/attachment.pgp>

More information about the ffmpeg-devel mailing list