#define _MLT_CONSUMER_H_
#include "mlt_service.h"
+#include <pthread.h>
/** The interface definition for all consumers.
*/
// Private data
void *private;
void *child;
+
+ int ahead;
+ int width;
+ int height;
+ mlt_image_format format;
+ mlt_deque queue;
+ pthread_t ahead_thread;
};
/** Public final methods
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 int mlt_consumer_stop( mlt_consumer this );
extern int mlt_consumer_is_stopped( mlt_consumer this );
extern void mlt_consumer_close( mlt_consumer );