From e18ebb54d19da2259f74dfa107d2d5bdebd220be Mon Sep 17 00:00:00 2001 From: lilo_booter Date: Sat, 11 Dec 2004 19:47:12 +0000 Subject: [PATCH] split_at method added git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt++@554 d19143bc-622f-0410-bfdd-b5b2a6649095 --- mlt++/src/MltPlaylist.cpp | 5 +++++ mlt++/src/MltPlaylist.h | 1 + 2 files changed, 6 insertions(+), 0 deletions(-) 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 ); -- 1.7.4.4