X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmodules%2Fxine%2Ffilter_deinterlace.c;h=70457e96dcc084eb2863f30d52f5f1d2972bc6f1;hb=7601aa4468f96fb8e3395266b194e7e7bd095453;hp=1eec14b0b966e871da9749cfa63ede87c3b34020;hpb=97511858cf1465597b187523d2c93ecaa58e0555;p=mlt diff --git a/src/modules/xine/filter_deinterlace.c b/src/modules/xine/filter_deinterlace.c index 1eec14b0..70457e96 100644 --- a/src/modules/xine/filter_deinterlace.c +++ b/src/modules/xine/filter_deinterlace.c @@ -111,7 +111,7 @@ static int deinterlace_yadif( mlt_frame frame, mlt_filter filter, uint8_t **imag int next_width = *width; int next_height = *height; - mlt_log_debug( MLT_FILTER_SERVICE(filter), "previous %d current %d next %d\n", + mlt_log_debug( MLT_FILTER_SERVICE(filter), "previous " MLT_POSITION_FMT " current " MLT_POSITION_FMT " next " MLT_POSITION_FMT "\n", previous_frame? mlt_frame_original_position(previous_frame) : -1, mlt_frame_original_position(frame), next_frame? mlt_frame_original_position(next_frame) : -1); @@ -195,7 +195,7 @@ static int filter_get_image( mlt_frame frame, uint8_t **image, mlt_image_format // At this point - before image was requested - (progressive == 0) cannot be trusted because // some producers (avformat) do not yet know. - if ( deinterlace ) + if ( deinterlace && !mlt_properties_get_int( properties, "test_image" ) ) { // Determine deinterlace method char *method_str = mlt_properties_get( MLT_FILTER_PROPERTIES( filter ), "method" );