]> git.sesse.net Git - mlt/blobdiff - src/modules/core/transition_composite.c
filter_watermark.c, filter_composite.c: support explicit deinterlace of
[mlt] / src / modules / core / transition_composite.c
index 20f0a4f2a0091c1fdd1a4f21674b9640e4f187c8..9104073b9f52ce3092b3b3029c9112e01dc390b9 100644 (file)
@@ -1037,7 +1037,7 @@ static int transition_get_image( mlt_frame a_frame, uint8_t **image, mlt_image_f
 
                // Since we are the consumer of the b_frame, we must pass along these
                // consumer properties from the a_frame
-               mlt_properties_set_double( b_props, "consumer_deinterlace", mlt_properties_get_double( a_props, "consumer_deinterlace" ) );
+               mlt_properties_set_int( b_props, "consumer_deinterlace", mlt_properties_get_int( a_props, "consumer_deinterlace" ) || mlt_properties_get_int( properties, "deinterlace" ) );
                mlt_properties_set( b_props, "consumer_deinterlace_method", mlt_properties_get( a_props, "consumer_deinterlace_method" ) );
                mlt_properties_set_double( b_props, "consumer_aspect_ratio", mlt_properties_get_double( a_props, "consumer_aspect_ratio" ) );