]> git.sesse.net Git - mlt/commitdiff
Small correction to deinterlacing
authorlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Mon, 31 Jan 2005 14:14:42 +0000 (14:14 +0000)
committerlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Mon, 31 Jan 2005 14:14:42 +0000 (14:14 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@634 d19143bc-622f-0410-bfdd-b5b2a6649095

src/framework/mlt_consumer.c

index 99ca1516d8fcf40240aaaff62355b1cddc7bdfa8..bcc65ac13d81b54cd823166cae075b0f55270767 100644 (file)
@@ -293,8 +293,7 @@ mlt_frame mlt_consumer_get_frame( mlt_consumer this )
 
                // Aspect ratio and other jiggery pokery
                mlt_properties_set_double( frame_properties, "consumer_aspect_ratio", mlt_properties_get_double( properties, "aspect_ratio" ) );
-               if ( mlt_properties_get_int( properties, "progressive" ) || mlt_properties_get_int( properties, "deinterlace" ) )
-                       mlt_properties_set_int( frame_properties, "consumer_deinterlace", 1 );
+               mlt_properties_set_int( frame_properties, "consumer_deinterlace", mlt_properties_get_int( properties, "progressive" ) | mlt_properties_get_int( properties, "deinterlace" ) );
        }
 
        // Return the frame