Miracle mods
[melted] / src / framework / mlt_transition.c
index b4024fb..10d2aee 100644 (file)
@@ -50,6 +50,7 @@ int mlt_transition_init( mlt_transition this, void *child )
                mlt_properties_set_position( properties, "out", 0 );
                mlt_properties_set_int( properties, "a_track", 0 );
                mlt_properties_set_int( properties, "b_track", 1 );
+               mlt_properties_set( properties, "resource", "<transition>" );
 
                return 0;
        }
@@ -169,7 +170,6 @@ static int transition_get_frame( mlt_service service, mlt_frame_ptr frame, int i
        mlt_position in = mlt_properties_get_position( properties, "in" );
        mlt_position out = mlt_properties_get_position( properties, "out" );
 
-       // Fetch a and b frames together...
        if ( ( index == a_track || index == b_track ) && !( this->a_held || this->b_held ) )
        {
                mlt_service_get_frame( this->producer, &this->a_frame, a_track );