X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_consumer.h;h=e718912cafe01f047659fb6bd8a353c713afd9bb;hb=25f69a94909b67a20d84bc0503c954d0a491ca36;hp=1881ded567c5db0970076d443dbf8a43b95abc80;hpb=5c299d1ae6f3535df35b3f30bae0476a1ca50aa6;p=melted diff --git a/src/framework/mlt_consumer.h b/src/framework/mlt_consumer.h index 1881ded..e718912 100644 --- a/src/framework/mlt_consumer.h +++ b/src/framework/mlt_consumer.h @@ -42,6 +42,7 @@ struct mlt_consumer_s void *private; void *child; + int real_time; int ahead; mlt_image_format format; mlt_deque queue; @@ -54,12 +55,13 @@ struct mlt_consumer_s */ extern int mlt_consumer_init( mlt_consumer this, void *child ); +extern mlt_consumer mlt_consumer_new( ); extern mlt_service mlt_consumer_service( mlt_consumer this ); extern mlt_properties mlt_consumer_properties( mlt_consumer this ); extern int mlt_consumer_connect( mlt_consumer this, mlt_service producer ); extern int mlt_consumer_start( mlt_consumer this ); extern mlt_frame mlt_consumer_get_frame( mlt_consumer this ); -extern mlt_frame mlt_consumer_rt_frame( mlt_consumer this, mlt_image_format format ); +extern mlt_frame mlt_consumer_rt_frame( mlt_consumer this ); extern int mlt_consumer_stop( mlt_consumer this ); extern int mlt_consumer_is_stopped( mlt_consumer this ); extern void mlt_consumer_close( mlt_consumer );