[vlc-devel] [PATCH] Small fix to Deinterlace()

Jean-Baptiste Kempf jb at videolan.org
Sun Apr 3 00:34:26 CEST 2011

On Wed, Mar 30, 2011 at 12:18:24AM +0300, Juha Jeronen wrote :
> It seems I inadvertently shot Laurent in the foot. Commit
> [8f4d34b49c719581622dbca708f92ea81221156d] says "Reset the number of
> fields to 2 after deinterlacing."
> However, because the loop doing this runs only from 1 to
> DEINTERLACE_DST_SIZE, p_dst[0] never gets this treatment.
> The attached patch fixes the problem. Now the loop does the sensible
> thing, so the same bug won't happen again if some other flag handling
> after deinterlacing becomes needed in the future.


Best Regards,

Jean-Baptiste Kempf
+33 672 704 734

More information about the vlc-devel mailing list