[vlc-devel] [PATCH] Small fix to Deinterlace()
Juha Jeronen
juha.jeronen at jyu.fi
Tue Mar 29 23:18:24 CEST 2011
Hi all,
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.
Sorry for the inconvenience,
-J
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Set-nb_fields-to-2-for-p_dst-0-too.patch
Type: text/x-patch
Size: 815 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110330/9ba99f19/attachment.bin>
More information about the vlc-devel
mailing list