X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fframework%2Fmlt_consumer.c;h=4422b111389c7ac95f5120ff5d7c9b9d7005934c;hb=4a39b72c5ac8fd2dd6db81a95eab08adde0491b9;hp=0f2a97f93e9253c780567efb1cdbbd4eb39ba00a;hpb=112bed9a4d15f4b52835dfc55fdf301f0a39f6d1;p=mlt diff --git a/src/framework/mlt_consumer.c b/src/framework/mlt_consumer.c index 0f2a97f9..4422b111 100644 --- a/src/framework/mlt_consumer.c +++ b/src/framework/mlt_consumer.c @@ -220,8 +220,8 @@ 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" ) ); - mlt_properties_set_int( frame_properties, "consumer_progressive", mlt_properties_get_int( properties, "progressive" ) ); - mlt_properties_set_int( frame_properties, "consumer_deinterlace", mlt_properties_get_int( properties, "deinterlace" ) ); + if ( mlt_properties_get_int( properties, "progressive" ) || mlt_properties_get_int( properties, "deinterlace" ) ) + mlt_properties_set_int( properties, "consumer_deinterlace", 1 ); } // Return the frame