X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_producer.c;h=d6c27e3c146b7bdd16b0f3b106ebf926ea086944;hb=4b72d1071d80828a599085618bbba67a18d14e56;hp=b8bd2c601b10b3adf65c84f1ab883c9dc1fabaf1;hpb=91fb4d73caa09a606c46393c7565462bf926e6a8;p=melted diff --git a/src/framework/mlt_producer.c b/src/framework/mlt_producer.c index b8bd2c6..d6c27e3 100644 --- a/src/framework/mlt_producer.c +++ b/src/framework/mlt_producer.c @@ -244,7 +244,7 @@ int mlt_producer_seek( mlt_producer this, mlt_position position ) mlt_producer_seek( mlt_producer_cut_parent( this ), position + mlt_producer_get_in( this ) ); // Check bounds - if ( position < 0 ) + if ( position < 0 || mlt_producer_get_playtime( this ) == 0 ) { position = 0; }