rendered paste body if( job->deinterlace )
{
if ([fPicSettingDeinterlace intValue] == 1)
{
/* Run old deinterlacer by default */
hb_filter_deinterlace.settings = "-1";
hb_list_add( job->filters, &hb_filter_deinterlace );
}
if ([fPicSettingDeinterlace intValue] == 2)
{
/* Yadif mode 1 */
hb_filter_deinterlace.settings = "1";
hb_list_add( job->filters, &hb_filter_deinterlace );
}
if ([fPicSettingDeinterlace intValue] == 3)
{
/* Yadif and Mcdeint */
hb_filter_deinterlace.settings = "1:-1:1";
hb_list_add( job->filters, &hb_filter_deinterlace );
}
if ([fPicSettingDeinterlace intValue] == 4)
{
/* Yadif and Mcdeint Slow Modes*/
hb_filter_deinterlace.settings = "3:-1:2";
hb_list_add( job->filters, &hb_filter_deinterlace );
}
}