]> git.sesse.net Git - mlt/commitdiff
Auto deinterlace on pause, fix for audio resampling/test audio and MMX checks in...
authorlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Sat, 9 Apr 2005 09:50:08 +0000 (09:50 +0000)
committerlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Sat, 9 Apr 2005 09:50:08 +0000 (09:50 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@691 d19143bc-622f-0410-bfdd-b5b2a6649095

src/framework/mlt_consumer.c
src/modules/gtk2/Makefile
src/modules/resample/filter_resample.c

index 3a839d2143e745d4cab8eff7e6d1b56882a88b6c..c6533555209b24a44f2dbf04ec0a551a4c11e3ff 100644 (file)
@@ -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;
index c0ec6de2fbfdcc07e788f708d8673eeb517cb3ae..6697e590013d06196715abb16acece4942cff90f 100644 (file)
@@ -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
 
index 264d083bf56f02ab84102c43f81c1a9d7345d474..09be434623c8620a9c0ffad557bd2da97a05bb99 100644 (file)
@@ -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 );