inigo rewrite, producer, serialise and deserialise
[melted] / src / framework / mlt_multitrack.c
index 9db2aad..893cef5 100644 (file)
@@ -121,6 +121,10 @@ void mlt_multitrack_refresh( mlt_multitrack this )
                // If it's allocated then, update our stats
                if ( producer != NULL )
                {
+                       // If we have more than 1 track, we must be in continue mode
+                       if ( this->count > 1 )
+                               mlt_properties_set( mlt_producer_properties( producer ), "eof", "continue" );
+                       
                        // Determine the longest length
                        length = mlt_producer_get_playtime( producer ) > length ? mlt_producer_get_playtime( producer ) : length;