X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_consumer.h;h=2439b970bf0d550c06a2a367e64fb063c983a472;hb=ebcbb3571620a43fe24b3f8fa0161096ef628dbe;hp=5376756294487283233b8b079ccc3ae8540675a8;hpb=f9c7e4e64fe57451a17ef25a727c8d3387ee1737;p=melted diff --git a/src/framework/mlt_consumer.h b/src/framework/mlt_consumer.h index 5376756..2439b97 100644 --- a/src/framework/mlt_consumer.h +++ b/src/framework/mlt_consumer.h @@ -39,9 +39,10 @@ struct mlt_consumer_s void ( *close )( mlt_consumer ); // Private data - void *private; + void *local; void *child; + int real_time; int ahead; mlt_image_format format; mlt_deque queue; @@ -53,16 +54,18 @@ struct mlt_consumer_s /** Public final methods */ -extern int mlt_consumer_init( mlt_consumer this, void *child ); +extern int mlt_consumer_init( mlt_consumer self, 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 ); -extern int mlt_consumer_stop( mlt_consumer this ); -extern int mlt_consumer_is_stopped( mlt_consumer this ); +extern mlt_service mlt_consumer_service( mlt_consumer self ); +extern mlt_properties mlt_consumer_properties( mlt_consumer self ); +extern int mlt_consumer_connect( mlt_consumer self, mlt_service producer ); +extern int mlt_consumer_start( mlt_consumer self ); +extern void mlt_consumer_purge( mlt_consumer self ); +extern mlt_frame mlt_consumer_get_frame( mlt_consumer self ); +extern mlt_frame mlt_consumer_rt_frame( mlt_consumer self ); +extern int mlt_consumer_stop( mlt_consumer self ); +extern int mlt_consumer_is_stopped( mlt_consumer self ); +extern void mlt_consumer_stopped( mlt_consumer self ); extern void mlt_consumer_close( mlt_consumer ); #endif