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=4bb38b7e18e8b8ff4ddbc561be07a157a75bf4dd;hb=6d06b0de2cb66cf093bf24d9ed02fac18756105e;hp=942b219dbbc7305cf6c544639ff4e0d9c348cf57;hpb=3e2991e189a71045210d8c97458c452d6c2f02da;p=melted diff --git a/mlt++/src/MltPlaylist.cpp b/mlt++/src/MltPlaylist.cpp index 942b219..4bb38b7 100644 --- a/mlt++/src/MltPlaylist.cpp +++ b/mlt++/src/MltPlaylist.cpp @@ -181,6 +181,16 @@ Producer *Playlist::get_clip( int clip ) return new Producer( mlt_playlist_get_clip( get_playlist( ), clip ) ); } +Producer *Playlist::get_clip_at( int position ) +{ + return new Producer( mlt_playlist_get_clip_at( get_playlist( ), position ) ); +} + +int Playlist::get_clip_index_at( int position ) +{ + return mlt_playlist_get_clip_index_at( get_playlist( ), position ); +} + bool Playlist::is_mix( int clip ) { return mlt_playlist_clip_is_mix( get_playlist( ), clip ) != 0;