From c6002a5b45d686c42db3bd0ae97eb3b64f394fac Mon Sep 17 00:00:00 2001 From: lilo_booter Date: Sun, 2 Jan 2005 15:33:06 +0000 Subject: [PATCH] Correction to clip_start at end of playlist git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@598 d19143bc-622f-0410-bfdd-b5b2a6649095 --- src/framework/mlt_playlist.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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 ) -- 1.7.4.4