`pwd`/src/modules/bluefish:\
`pwd`/../bluefish/lib:\
`pwd`/../mpeg_sdk_release/bin:\
-`pwd`/../dv_sdk_release
+`pwd`/../dv_sdk_release/lib
export PATH=\
`pwd`/src/albino:\
char *eof = mlt_properties_get( mlt_producer_properties( this ), "eof" );
// A properly instatiated producer will have a get_frame method...
+//fprintf( stderr, "PRODUCER get_frame %p eof %s pos %lld out %lld\n",
+//this->get_frame, eof, mlt_producer_position( this ), mlt_producer_get_out( this ) );
if ( this->get_frame == NULL || ( !strcmp( eof, "continue" ) && mlt_producer_position( this ) > mlt_producer_get_out( this ) ) )
{
// Generate a test frame
result = mlt_factory_producer( "pixbuf", file );
else if ( strstr( file, ".png" ) )
result = mlt_factory_producer( "pixbuf", file );
+ else if ( strstr( file, ".svg" ) )
+ result = mlt_factory_producer( "pixbuf", file );
else if ( strstr( file, ".txt" ) )
result = mlt_factory_producer( "pango", file );
else if ( strstr( file, ".westley" ) )
mlt_producer producer_fezzik_init( char *arg )
{
// Create the producer that the tractor will contain
- mlt_producer producer = create_producer( arg );
+ mlt_producer producer = NULL;
+ if ( arg != NULL )
+ producer = create_producer( arg );
// Build the tractor if we have a producer and it isn't already westley'd :-)
if ( producer != NULL && mlt_properties_get( mlt_producer_properties( producer ), "westley" ) == NULL )
// Get the producer's audio
mlt_frame_get_audio( frame, buffer, format, frequency, channels, samples );
- //fprintf( stderr, "resample_get_audio: output_rate %d\n", output_rate, *frequency );
+ //fprintf( stderr, "resample_get_audio: output_rate %d\n", output_rate );
+
// Return now if now work to do
if ( output_rate == *frequency )
return 0;
mlt_properties_get_position( mlt_service_properties( track ), "in" ),
mlt_properties_get_position( mlt_service_properties( track ), "out" ) );
}
-
+
// Push the multitrack back onto the stack
context_push_service( context, service );
return;
// Instatiate the producer
- service = MLT_SERVICE( mlt_factory_producer( "fezzik", mlt_properties_get( properties, "resource" ) ) );
-
+ if ( mlt_properties_get( properties, "resource" ) != NULL )
+ service = MLT_SERVICE( mlt_factory_producer( "fezzik", mlt_properties_get( properties, "resource" ) ) );
if ( service == NULL && mlt_properties_get( properties, "mlt_service" ) != NULL )
{
service = MLT_SERVICE( mlt_factory_producer( mlt_properties_get( properties, "mlt_service" ),