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

Juha Jeronen juha.jeronen at jyu.fi
Tue Apr 5 20:50:25 CEST 2011


Hi,

On 04/05/2011 09:05 PM, Laurent Aimar wrote:
> Hi;
>
> On Wed, Mar 30, 2011 at 12:18:24AM +0300, Juha Jeronen wrote:
>> 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.
>  Merged by [542f25d1b318ee3aee25e4d54d1b41e1207eb74f].

Thanks!

 -J




More information about the vlc-devel mailing list