X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_playlist.c;h=0433a743779b084bbafa0c415e5c148cd6e2d54e;hb=9936fc1daf6f3e7eae88c6131474e2bee0c385f4;hp=59dfea40f57935d0d97851d06b34949400a63f5a;hpb=2216e73bda74f15e98e1d5667d518b14f0df8823;p=melted diff --git a/src/framework/mlt_playlist.c b/src/framework/mlt_playlist.c index 59dfea4..0433a74 100644 --- a/src/framework/mlt_playlist.c +++ b/src/framework/mlt_playlist.c @@ -1329,7 +1329,7 @@ int mlt_playlist_clip_start( mlt_playlist this, int clip ) mlt_playlist_clip_info info; if ( mlt_playlist_get_clip_info( this, &info, clip ) == 0 ) return info.start; - return clip < 0 ? 0 : mlt_producer_get_playtime( MLT_PLAYLIST_PRODUCER( this ) ) + 1; + return clip < 0 ? 0 : mlt_producer_get_playtime( MLT_PLAYLIST_PRODUCER( this ) ); } int mlt_playlist_clip_length( mlt_playlist this, int clip )