Frame
Service
Consumer
- FilteredConsumer [*]
Field
Filter
Multitrack
Tractor
Transition
- [*] These classes have no direct equivalent in the C API.
+ An additional set of classes allow apps to behave as, and communicate with,
+ client/server components - these components provide MLT with unique
+ possibilties for process to process or system to system communications.
+
+ Miracle
+ Response
SPECIAL CASES
-------------
ClipInfo::ClipInfo( mlt_playlist_clip_info *info ) :
clip( info->clip ),
producer( new Producer( info->producer ) ),
- service( new Service( info->service ) ),
+ cut( new Producer( info->cut ) ),
start( info->start ),
resource( strdup( info->resource ) ),
frame_in( info->frame_in ),
frame_out( info->frame_out ),
frame_count( info->frame_count ),
length( info->length ),
- fps( info->fps )
+ fps( info->fps ),
+ repeat( info->repeat )
{
}
ClipInfo::~ClipInfo( )
{
delete producer;
- delete service;
+ delete cut;
free( resource );
}
{
return mlt_playlist_mix( get_playlist( ), clip, length, transition == NULL ? NULL : transition->get_transition( ) );
}
+
+int Playlist::repeat( int clip, int count )
+{
+ return mlt_playlist_repeat_clip( get_playlist( ), clip, count );
+}
~ClipInfo( );
int clip;
Producer *producer;
- Service *service;
+ Producer *cut;
int start;
char *resource;
int frame_in;
int frame_count;
int length;
float fps;
+ int repeat;
};
class Playlist : public Producer
int split( int clip, int position );
int join( int clip, int count = 1, int merge = 1 );
int mix( int clip, int length, Transition *transition = NULL );
+ int repeat( int clip, int count );
};
}