// Update multitrack properties now - we'll not destroy the in point here
mlt_properties_set_position( properties, "length", length );
- mlt_properties_set_position( properties, "out", length );
+ mlt_properties_set_position( properties, "out", length - 1 );
mlt_properties_set_double( properties, "fps", fps );
}
mlt_producer producer = this->list[ index ];
// Obtain the current position
- uint64_t position = mlt_producer_frame( parent );
+ mlt_position position = mlt_producer_frame( parent );
// Make sure we're at the same point
mlt_producer_seek( producer, position );