当前位置: 首页>>代码示例>>C++>>正文


C++ Producer::get_producer方法代码示例

本文整理汇总了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( );
}
开发者ID:mltframework,项目名称:mlt,代码行数:7,代码来源:MltProducer.cpp

示例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;
}
开发者ID:amongll,项目名称:AVFX,代码行数:20,代码来源:MltTractor.cpp

示例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 );
}
开发者ID:elfring,项目名称:mlt,代码行数:4,代码来源:MltPlaylist.cpp

示例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 );
}
开发者ID:elfring,项目名称:mlt,代码行数:4,代码来源:MltPlaylist.cpp

示例5: append

int Playlist::append( Producer &producer, int in, int out )
{
	return mlt_playlist_append_io( get_playlist( ), producer.get_producer( ), in, out );
}
开发者ID:elfring,项目名称:mlt,代码行数:4,代码来源:MltPlaylist.cpp

示例6: insert_track

int Tractor::insert_track( Producer &producer, int index )
{
	return mlt_tractor_insert_track( get_tractor( ), producer.get_producer( ), index );
}
开发者ID:amongll,项目名称:AVFX,代码行数:4,代码来源:MltTractor.cpp

示例7: QObject

QProducer::QProducer(const QProducer& qproducer)
    : QObject(0)
{
    Producer* p = qproducer.producer();
    m_producer = new Producer(p->get_producer());
}
开发者ID:GNUmedia,项目名称:shotcut,代码行数:6,代码来源:mltcontroller.cpp

示例8: same_clip

bool Producer::same_clip( Producer &that )
{
	return mlt_producer_cut_parent( get_producer( ) ) == mlt_producer_cut_parent( that.get_producer( ) );
}
开发者ID:mltframework,项目名称:mlt,代码行数:4,代码来源:MltProducer.cpp

示例9: from_producer

void Profile::from_producer( Producer &producer )
{
	mlt_profile_from_producer( instance, producer.get_producer() );
}
开发者ID:aib,项目名称:mlt,代码行数:4,代码来源:MltProfile.cpp

示例10: connect

int Multitrack::connect( Producer &producer, int index )
{
	return mlt_multitrack_connect( get_multitrack( ), producer.get_producer( ), index );
}
开发者ID:Enlik,项目名称:mlt,代码行数:4,代码来源:MltMultitrack.cpp


注:本文中的Producer::get_producer方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。