test card handling
authorlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Wed, 11 Feb 2004 20:29:42 +0000 (20:29 +0000)
committerlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Wed, 11 Feb 2004 20:29:42 +0000 (20:29 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@140 d19143bc-622f-0410-bfdd-b5b2a6649095

src/framework/mlt_producer.c

index 3c953d6..6441155 100644 (file)
@@ -259,6 +259,10 @@ static int producer_get_frame( mlt_service service, mlt_frame_ptr frame, int ind
                // Set the position
                result = mlt_frame_set_position( *frame, mlt_producer_position( this ) );
 
+               // Mark as a test card
+               mlt_properties_set_int( mlt_frame_properties( *frame ), "test_image", 1 );
+               mlt_properties_set_int( mlt_frame_properties( *frame ), "test_audio", 1 );
+
                // Calculate the next position
                mlt_producer_prepare_next( this );
        }