本文整理汇总了C++中Producer::get_producer方法的典型用法代码示例。如果您正苦于以下问题:C++ Producer::get_producer方法的具体用法?C++ Producer::get_producer怎么用?C++ Producer::get_producer使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Producer
的用法示例。
在下文中一共展示了Producer::get_producer方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1:
Producer::Producer( Producer &producer ) :
Mlt::Service( producer ),
instance( producer.get_producer( ) ),
parent_( NULL )
{
inc_ref( );
}
示例2: locate_cut
bool Tractor::locate_cut( Producer *producer, int &track, int &cut )
{
bool found = false;
for ( track = 0; producer != NULL && !found && track < count( ); track ++ )
{
Playlist playlist( ( mlt_playlist )mlt_tractor_get_track( get_tractor( ), track ) );
for ( cut = 0; !found && cut < playlist.count( ); cut ++ )
{
Producer *clip = playlist.get_clip( cut );
found = producer->get_producer( ) == clip->get_producer( );
delete clip;
}
}
track --;
cut --;
return found;
}
示例3: insert_at
int Playlist::insert_at( int position, Producer &producer, int mode )
{
return mlt_playlist_insert_at( get_playlist( ), position, producer.get_producer( ), mode );
}
示例4: insert
int Playlist::insert( Producer &producer, int where, int in, int out )
{
return mlt_playlist_insert( get_playlist( ), producer.get_producer( ), where, in, out );
}
示例5: append
int Playlist::append( Producer &producer, int in, int out )
{
return mlt_playlist_append_io( get_playlist( ), producer.get_producer( ), in, out );
}
示例6: insert_track
int Tractor::insert_track( Producer &producer, int index )
{
return mlt_tractor_insert_track( get_tractor( ), producer.get_producer( ), index );
}
示例7: QObject
QProducer::QProducer(const QProducer& qproducer)
: QObject(0)
{
Producer* p = qproducer.producer();
m_producer = new Producer(p->get_producer());
}
示例8: same_clip
bool Producer::same_clip( Producer &that )
{
return mlt_producer_cut_parent( get_producer( ) ) == mlt_producer_cut_parent( that.get_producer( ) );
}
示例9: from_producer
void Profile::from_producer( Producer &producer )
{
mlt_profile_from_producer( instance, producer.get_producer() );
}
示例10: connect
int Multitrack::connect( Producer &producer, int index )
{
return mlt_multitrack_connect( get_multitrack( ), producer.get_producer( ), index );
}