X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_multitrack.c;h=59b2383227cf3fa2061eb3cc8124368c3dd695e2;hb=1d46befd8150131541aa98e93573d5d6e54e9c3a;hp=47bc271d1e421a4d7ff4ba4b3f46ba2897b0b3ed;hpb=89b7e06e362f01284cd1166a019ae3fa3093a6e4;p=melted diff --git a/src/framework/mlt_multitrack.c b/src/framework/mlt_multitrack.c index 47bc271..59b2383 100644 --- a/src/framework/mlt_multitrack.c +++ b/src/framework/mlt_multitrack.c @@ -147,7 +147,7 @@ void mlt_multitrack_refresh( mlt_multitrack this ) // 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 ); } @@ -298,7 +298,7 @@ static int producer_get_frame( mlt_producer parent, mlt_frame_ptr frame, int ind 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 );