X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_producer.c;h=aece92b9a91582983b8fc680571e8d24e1746f87;hb=2a04e5dceebd174e24be42da8643a815640db27d;hp=3f7a01b257fce41a05269608f59a6d68d3c3d94b;hpb=eccf04749681f70957f34fdd6742224774e72d15;p=melted diff --git a/src/framework/mlt_producer.c b/src/framework/mlt_producer.c index 3f7a01b..aece92b 100644 --- a/src/framework/mlt_producer.c +++ b/src/framework/mlt_producer.c @@ -253,7 +253,7 @@ int mlt_producer_seek( mlt_producer this, mlt_position position ) { position = 0; } - else if ( use_points && !strcmp( eof, "pause" ) && position >= mlt_producer_get_playtime( this ) ) + else if ( use_points && ( eof == NULL || !strcmp( eof, "pause" ) ) && position >= mlt_producer_get_playtime( this ) ) { mlt_producer_set_speed( this, 0 ); position = mlt_producer_get_playtime( this ) - 1;