git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt++@508
d19143bc-622f-0410-bfdd-
b5b2a6649095
return instance;
}
+mlt_producer Producer::get_parent( )
+{
+ return get_producer( ) != NULL && mlt_producer_cut_parent( get_producer( ) ) != NULL ? mlt_producer_cut_parent( get_producer( ) ) : get_producer( );
+}
+
mlt_service Producer::get_service( )
{
return mlt_producer_service( get_producer( ) );
return result;
}
+bool Producer::is_cut( )
+{
+ return mlt_producer_is_cut( get_producer( ) );
+}
+
bool Producer::same_clip( Producer &that )
{
return mlt_producer_cut_parent( get_producer( ) ) == mlt_producer_cut_parent( that.get_producer( ) );
Producer( Producer &producer );
virtual ~Producer( );
virtual mlt_producer get_producer( );
+ mlt_producer get_parent( );
mlt_service get_service( );
int seek( int position );
int position( );
int get_length( );
int get_playtime( );
Producer *cut( int in = 0, int out = -1 );
+ bool is_cut( );
bool same_clip( Producer &that );
bool runs_into( Producer &that );
};