X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_playlist.h;h=0cc0a1d9ba81072817f082b6cbd690936bbe0b11;hb=7b0684ebe0975248af674dc5973a959d81f5f4a8;hp=dd88959309acc80791bf8895f5b8776c80e4b8ac;hpb=7c518e80321a87a22d2e48835442c9f5b70dcd17;p=melted diff --git a/src/framework/mlt_playlist.h b/src/framework/mlt_playlist.h index dd88959..0cc0a1d 100644 --- a/src/framework/mlt_playlist.h +++ b/src/framework/mlt_playlist.h @@ -28,7 +28,9 @@ typedef struct { + int clip; mlt_producer producer; + mlt_producer cut; mlt_position start; char *resource; mlt_position frame_in; @@ -36,6 +38,7 @@ typedef struct mlt_position frame_count; mlt_position length; float fps; + int repeat; } mlt_playlist_clip_info; @@ -43,23 +46,27 @@ mlt_playlist_clip_info; */ extern mlt_playlist mlt_playlist_init( ); -extern mlt_producer mlt_playlist_producer( mlt_playlist this ); -extern mlt_service mlt_playlist_service( mlt_playlist this ); -extern mlt_properties mlt_playlist_properties( mlt_playlist this ); -extern int mlt_playlist_count( mlt_playlist this ); -extern int mlt_playlist_clear( mlt_playlist this ); -extern int mlt_playlist_append( mlt_playlist this, mlt_producer producer ); -extern int mlt_playlist_append_io( mlt_playlist this, mlt_producer producer, mlt_position in, mlt_position out ); -extern int mlt_playlist_blank( mlt_playlist this, mlt_position length ); -extern mlt_position mlt_playlist_clip( mlt_playlist this, mlt_whence whence, int index ); -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_position in, mlt_position 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_position in, mlt_position out ); -extern void mlt_playlist_close( mlt_playlist this ); +extern mlt_producer mlt_playlist_producer( mlt_playlist self ); +extern mlt_service mlt_playlist_service( mlt_playlist self ); +extern mlt_properties mlt_playlist_properties( mlt_playlist self ); +extern int mlt_playlist_count( mlt_playlist self ); +extern int mlt_playlist_clear( mlt_playlist self ); +extern int mlt_playlist_append( mlt_playlist self, mlt_producer producer ); +extern int mlt_playlist_append_io( mlt_playlist self, mlt_producer producer, mlt_position in, mlt_position out ); +extern int mlt_playlist_blank( mlt_playlist self, mlt_position length ); +extern mlt_position mlt_playlist_clip( mlt_playlist self, mlt_whence whence, int index ); +extern int mlt_playlist_current_clip( mlt_playlist self ); +extern mlt_producer mlt_playlist_current( mlt_playlist self ); +extern int mlt_playlist_get_clip_info( mlt_playlist self, mlt_playlist_clip_info *info, int index ); +extern int mlt_playlist_insert( mlt_playlist self, mlt_producer producer, int where, mlt_position in, mlt_position out ); +extern int mlt_playlist_remove( mlt_playlist self, int where ); +extern int mlt_playlist_move( mlt_playlist self, int from, int to ); +extern int mlt_playlist_resize_clip( mlt_playlist self, int clip, mlt_position in, mlt_position out ); +extern int mlt_playlist_repeat_clip( mlt_playlist self, int clip, int repeat ); +extern int mlt_playlist_split( mlt_playlist self, int clip, mlt_position position ); +extern int mlt_playlist_join( mlt_playlist self, int clip, int count, int merge ); +extern int mlt_playlist_mix( mlt_playlist self, int clip, int length, mlt_transition transition ); +extern void mlt_playlist_close( mlt_playlist self ); #endif