X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_producer.c;h=d6c27e3c146b7bdd16b0f3b106ebf926ea086944;hb=d611d9a6dac62501464e2b9c3d7ab6299ce072fe;hp=b8bd2c601b10b3adf65c84f1ab883c9dc1fabaf1;hpb=2a2669b620e293e8963205c86606618789951eed;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; }