From: lilo_booter Date: Wed, 11 Feb 2004 20:29:42 +0000 (+0000) Subject: test card handling X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=782525889e995881b65765f764d31a390c1b904a;p=melted test card handling git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@140 d19143bc-622f-0410-bfdd-b5b2a6649095 --- diff --git a/src/framework/mlt_producer.c b/src/framework/mlt_producer.c index 3c953d6..6441155 100644 --- a/src/framework/mlt_producer.c +++ b/src/framework/mlt_producer.c @@ -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 ); }