]> git.sesse.net Git - mlt/blobdiff - src/framework/mlt_producer.c
src/framework/mlt_frame.c
[mlt] / src / framework / mlt_producer.c
index 3f7a01b257fce41a05269608f59a6d68d3c3d94b..aece92b9a91582983b8fc680571e8d24e1746f87 100644 (file)
@@ -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;