{
}
-Producer::Producer( Profile& profile, char *id, char *service ) :
+Producer::Producer( Profile& profile, const char *id, const char *service ) :
instance( NULL ),
parent_( NULL )
{
}
Producer::Producer( Producer &producer ) :
+ Mlt::Service( producer ),
instance( producer.get_producer( ) ),
parent_( NULL )
{
{
mlt_producer_optimise( get_producer( ) );
}
-
-Frame* Producer::get_frame( int index )
-{
- mlt_frame f = NULL;
- int result = get_producer()->get_frame( get_producer(), &f, index );
- if ( f )
- return new Frame( f );
- return NULL;
-}