From 782525889e995881b65765f764d31a390c1b904a Mon Sep 17 00:00:00 2001 From: lilo_booter Date: Wed, 11 Feb 2004 20:29:42 +0000 Subject: [PATCH] test card handling git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@140 d19143bc-622f-0410-bfdd-b5b2a6649095 --- src/framework/mlt_producer.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) 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 ); } -- 1.7.4.4