mlt_position mlt_producer_position( mlt_producer this )
{
+ //char *resource = mlt_properties_get( mlt_producer_properties( this ), "resource" );
+ //mlt_position frame = mlt_properties_get_position( mlt_producer_properties( this ), "frame" );
+ //mlt_position position = mlt_properties_get_position( mlt_producer_properties( this ), "position" );
+ //fprintf( stderr, "%s: %lld %lld\n", resource, frame, position );
return mlt_properties_get_position( mlt_producer_properties( this ), "position" );
}
mlt_position mlt_producer_frame( mlt_producer this )
{
- //char *resource = mlt_properties_get( mlt_producer_properties( this ), "resource" );
- //mlt_position frame = mlt_properties_get_position( mlt_producer_properties( this ), "frame" );
- //mlt_position position = mlt_properties_get_position( mlt_producer_properties( this ), "position" );
- //fprintf( stderr, "%s: %lld %lld\n", resource, frame, position );
return mlt_properties_get_position( mlt_producer_properties( this ), "frame" );
}
mlt_producer target = mlt_multitrack_producer( multitrack );
mlt_producer_seek( target, mlt_producer_frame( parent ) );
mlt_producer_set_speed( target, mlt_producer_get_speed( parent ) );
- mlt_producer_set_in_and_out( parent, mlt_producer_get_in( target ), mlt_producer_get_out( target ) );
+ //mlt_producer_set_in_and_out( parent, mlt_producer_get_in( target ), mlt_producer_get_out( target ) );
}
else
{
*frame = temp;
}
else if ( ( !mlt_frame_is_test_card( temp ) || !mlt_frame_is_test_audio( temp ) ) && looking &&
- mlt_producer_position( parent ) == mlt_properties_get_position( mlt_frame_properties( temp ), "position" ) )
+ mlt_producer_frame( parent ) == mlt_frame_get_position( temp ) )
{
*frame = temp;
looking = 0;
mlt_position mlt_producer_position( mlt_producer this )
{
+ //char *resource = mlt_properties_get( mlt_producer_properties( this ), "resource" );
+ //mlt_position frame = mlt_properties_get_position( mlt_producer_properties( this ), "frame" );
+ //mlt_position position = mlt_properties_get_position( mlt_producer_properties( this ), "position" );
+ //fprintf( stderr, "%s: %lld %lld\n", resource, frame, position );
return mlt_properties_get_position( mlt_producer_properties( this ), "position" );
}
mlt_position mlt_producer_frame( mlt_producer this )
{
- //char *resource = mlt_properties_get( mlt_producer_properties( this ), "resource" );
- //mlt_position frame = mlt_properties_get_position( mlt_producer_properties( this ), "frame" );
- //mlt_position position = mlt_properties_get_position( mlt_producer_properties( this ), "position" );
- //fprintf( stderr, "%s: %lld %lld\n", resource, frame, position );
return mlt_properties_get_position( mlt_producer_properties( this ), "frame" );
}
mlt_producer target = mlt_multitrack_producer( multitrack );
mlt_producer_seek( target, mlt_producer_frame( parent ) );
mlt_producer_set_speed( target, mlt_producer_get_speed( parent ) );
- mlt_producer_set_in_and_out( parent, mlt_producer_get_in( target ), mlt_producer_get_out( target ) );
+ //mlt_producer_set_in_and_out( parent, mlt_producer_get_in( target ), mlt_producer_get_out( target ) );
}
else
{
*frame = temp;
}
else if ( ( !mlt_frame_is_test_card( temp ) || !mlt_frame_is_test_audio( temp ) ) && looking &&
- mlt_producer_position( parent ) == mlt_properties_get_position( mlt_frame_properties( temp ), "position" ) )
+ mlt_producer_frame( parent ) == mlt_frame_get_position( temp ) )
{
*frame = temp;
looking = 0;