From 87e7fc0bad51a23a93118192db165e999981d04b Mon Sep 17 00:00:00 2001 From: lilo_booter Date: Sat, 9 Apr 2005 09:50:08 +0000 Subject: [PATCH] Auto deinterlace on pause, fix for audio resampling/test audio and MMX checks in gtk2 git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@691 d19143bc-622f-0410-bfdd-b5b2a6649095 --- src/framework/mlt_consumer.c | 1 + src/modules/gtk2/Makefile | 2 +- src/modules/resample/filter_resample.c | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/framework/mlt_consumer.c b/src/framework/mlt_consumer.c index 3a839d2..c653355 100644 --- a/src/framework/mlt_consumer.c +++ b/src/framework/mlt_consumer.c @@ -432,6 +432,7 @@ static void *consumer_read_ahead_thread( void *arg ) // All non normal playback frames should be shown if ( mlt_properties_get_int( MLT_FRAME_PROPERTIES( frame ), "_speed" ) != 1 ) { + mlt_properties_set_int( MLT_FRAME_PROPERTIES( frame ), "consumer_deinterlace", 1 ); skipped = 0; time_frame = 0; time_process = 0; diff --git a/src/modules/gtk2/Makefile b/src/modules/gtk2/Makefile index c0ec6de..6697e59 100644 --- a/src/modules/gtk2/Makefile +++ b/src/modules/gtk2/Makefile @@ -9,7 +9,7 @@ OBJS = factory.o \ pixops.o \ filter_rescale.o -ifdef ($(MMX_FLAGS)) +ifdef MMX_FLAGS ASM_OBJS = have_mmx.o scale_line_22_yuv_mmx.o endif diff --git a/src/modules/resample/filter_resample.c b/src/modules/resample/filter_resample.c index 264d083..09be434 100644 --- a/src/modules/resample/filter_resample.c +++ b/src/modules/resample/filter_resample.c @@ -161,7 +161,7 @@ static int resample_get_audio( mlt_frame frame, int16_t **buffer, mlt_audio_form static mlt_frame filter_process( mlt_filter this, mlt_frame frame ) { - //if ( mlt_frame_is_test_audio( frame ) != 0 ) + if ( mlt_frame_is_test_audio( frame ) == 0 ) { mlt_frame_push_audio( frame, this ); mlt_frame_push_audio( frame, resample_get_audio ); -- 1.7.4.4