X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=mlt%2B%2B%2Fsrc%2FMltPlaylist.cpp;fp=mlt%2B%2B%2Fsrc%2FMltPlaylist.cpp;h=942b219dbbc7305cf6c544639ff4e0d9c348cf57;hb=bb5183402001f5b7e481af14d631c68f62035abd;hp=2a207fbafeb86346e5f920222017d7a688e6d6d7;hpb=a73dbca8c02fda57a6789d08d716a20e1ba43c59;p=melted diff --git a/mlt++/src/MltPlaylist.cpp b/mlt++/src/MltPlaylist.cpp index 2a207fb..942b219 100644 --- a/mlt++/src/MltPlaylist.cpp +++ b/mlt++/src/MltPlaylist.cpp @@ -166,7 +166,23 @@ int Playlist::mix( int clip, int length, Transition *transition ) return mlt_playlist_mix( get_playlist( ), clip, length, transition == NULL ? NULL : transition->get_transition( ) ); } +int Playlist::mix_add( int clip, Transition *transition ) +{ + return mlt_playlist_mix_add( get_playlist( ), clip, transition == NULL ? NULL : transition->get_transition( ) ); +} + int Playlist::repeat( int clip, int count ) { return mlt_playlist_repeat_clip( get_playlist( ), clip, count ); } + +Producer *Playlist::get_clip( int clip ) +{ + return new Producer( mlt_playlist_get_clip( get_playlist( ), clip ) ); +} + +bool Playlist::is_mix( int clip ) +{ + return mlt_playlist_clip_is_mix( get_playlist( ), clip ) != 0; +} +