double actual_position = mlt_producer_get_speed( this ) * (double)mlt_producer_position( this );
mlt_position need_first = floor( actual_position );
mlt_producer_seek( cx->producer, need_first );
-
+
// Get the nested frame
mlt_frame nested_frame = mlt_consumer_rt_frame( cx->consumer );
// Get the properties of this producer
mlt_properties properties = MLT_PRODUCER_PROPERTIES( this );
mlt_properties_set( properties, "resource", arg );
+ mlt_properties_pass_list( properties, MLT_PRODUCER_PROPERTIES( real_producer ), "out, length" );
- mlt_producer_close( real_producer );
+ // Done with the producer - will re-open later when we have the profile property
+ mlt_producer_close( real_producer );
}
else
{