]> git.sesse.net Git - mlt/commitdiff
+ Correction for cases where the interlaced state is determined after the image is...
authorlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Fri, 23 Sep 2005 06:00:41 +0000 (06:00 +0000)
committerlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Fri, 23 Sep 2005 06:00:41 +0000 (06:00 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@826 d19143bc-622f-0410-bfdd-b5b2a6649095

src/modules/xine/filter_deinterlace.c

index 8916647b144fba4e1432980a8ca7bfdc7e71d7cf..c29e888149e75e54d03719fbee7d00e4a146f5d0 100644 (file)
@@ -92,7 +92,7 @@ static int filter_get_image( mlt_frame this, uint8_t **image, mlt_image_format *
        error = mlt_frame_get_image( this, image, format, width, height, writable );
 
        // Check that we want progressive and we aren't already progressive
-       if ( deinterlace && *format == mlt_image_yuv422 && *image != NULL )
+       if ( deinterlace && *format == mlt_image_yuv422 && *image != NULL && !mlt_properties_get_int( MLT_FRAME_PROPERTIES( this ), "progressive" ) )
        {
                // Determine deinterlace method
                char *method_str = mlt_properties_get( MLT_FILTER_PROPERTIES( filter ), "method" );