X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_consumer.h;h=bd7960da99385e0e294be0929dfcf65e37e03a74;hb=5b59ce704d4f317e845afa30c5ade12c0fd22d43;hp=290d02b88293a7648ebca9bb3abb0c01e88c9bc3;hpb=9ab18ed63c37a9ef65e06697ae25f5c198d788bb;p=melted diff --git a/src/framework/mlt_consumer.h b/src/framework/mlt_consumer.h index 290d02b..bd7960d 100644 --- a/src/framework/mlt_consumer.h +++ b/src/framework/mlt_consumer.h @@ -43,11 +43,11 @@ struct mlt_consumer_s void *child; int ahead; - int width; - int height; mlt_image_format format; mlt_deque queue; pthread_t ahead_thread; + pthread_mutex_t mutex; + pthread_cond_t cond; }; /** Public final methods @@ -59,6 +59,7 @@ 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 void mlt_consumer_close( mlt_consumer );