From: lilo_booter Date: Sat, 11 Dec 2004 19:47:12 +0000 (+0000) Subject: split_at method added X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=e18ebb54d19da2259f74dfa107d2d5bdebd220be;p=melted split_at method added git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt++@554 d19143bc-622f-0410-bfdd-b5b2a6649095 --- diff --git a/mlt++/src/MltPlaylist.cpp b/mlt++/src/MltPlaylist.cpp index adace64..4b613b3 100644 --- a/mlt++/src/MltPlaylist.cpp +++ b/mlt++/src/MltPlaylist.cpp @@ -192,6 +192,11 @@ int Playlist::split( int clip, int position ) return mlt_playlist_split( get_playlist( ), clip, position ); } +int Playlist::split_at( int position, bool left ) +{ + return mlt_playlist_split_at( get_playlist( ), position, left ); +} + int Playlist::join( int clip, int count, int merge ) { return mlt_playlist_join( get_playlist( ), clip, count, merge ); diff --git a/mlt++/src/MltPlaylist.h b/mlt++/src/MltPlaylist.h index 75a3667..81406fa 100644 --- a/mlt++/src/MltPlaylist.h +++ b/mlt++/src/MltPlaylist.h @@ -77,6 +77,7 @@ namespace Mlt int move( int from, int to ); int resize_clip( int clip, int in, int out ); int split( int clip, int position ); + int split_at( int position, bool left = true ); int join( int clip, int count = 1, int merge = 1 ); int mix( int clip, int length, Transition *transition = NULL ); int mix_add( int clip, Transition *transition );