// Default of all consumers is real time
mlt_properties_set_int( properties, "real_time", 1 );
+ // Default to environment test card
+ mlt_properties_set( properties, "test_card", mlt_environment( "MLT_TEST_CARD" ) );
+
// Hmm - default all consumers to yuv422 :-/
this->format = mlt_image_yuv422;
}
if ( mlt_properties_get_data( properties, "test_card_producer", NULL ) == NULL )
{
// Create a test card producer
- // TODO: do we want to use fezzik here?
- mlt_producer producer = mlt_factory_producer( "fezzik", test_card );
+ mlt_producer producer = mlt_factory_producer( NULL, test_card );
// Do we have a producer
if ( producer != NULL )
// Create the read ahead
pthread_create( &this->ahead_thread, &thread_attributes, consumer_read_ahead_thread, this );
-
}
static void consumer_read_ahead_stop( mlt_consumer this )