X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_playlist.h;h=8cdcccef8b38a3cd9be648340a3a33a626e50243;hb=426c659c0b9d0667e2399e60cf81341a51ac040f;hp=3e30ba6be8425966bcb7560522d823326c17c4b0;hpb=9390e8b584f3f717f0a326893c0e37cf187a0a51;p=melted diff --git a/src/framework/mlt_playlist.h b/src/framework/mlt_playlist.h index 3e30ba6..8cdccce 100644 --- a/src/framework/mlt_playlist.h +++ b/src/framework/mlt_playlist.h @@ -23,16 +23,20 @@ #include "mlt_producer.h" -/** Structur for returning clip information. +/** Structure for returning clip information. */ typedef struct { + mlt_producer producer; + mlt_timecode start; char *resource; - double in; - double out; - double playtime; - double length; + mlt_timecode in; + int64_t frame_in; + mlt_timecode out; + int64_t frame_out; + mlt_timecode playtime; + mlt_timecode length; float fps; } mlt_playlist_clip_info; @@ -53,6 +57,10 @@ extern mlt_timecode mlt_playlist_clip( mlt_playlist this, mlt_whence whence, int extern int mlt_playlist_current_clip( mlt_playlist this ); extern mlt_producer mlt_playlist_current( mlt_playlist this ); extern int mlt_playlist_get_clip_info( mlt_playlist this, mlt_playlist_clip_info *info, int index ); +extern int mlt_playlist_insert( mlt_playlist this, mlt_producer producer, int where, mlt_timecode in, mlt_timecode out ); +extern int mlt_playlist_remove( mlt_playlist this, int where ); +extern int mlt_playlist_move( mlt_playlist this, int from, int to ); +extern int mlt_playlist_resize_clip( mlt_playlist this, int clip, mlt_timecode in, mlt_timecode out ); extern void mlt_playlist_close( mlt_playlist this ); #endif