Applied patch from Stephane Fillod to make configure run with bash
[melted] / src / framework / mlt_consumer.h
index d68ff56..03d2657 100644 (file)
 
 struct mlt_consumer_s
 {
-       // We're implementing service here
+       /* We're implementing service here */
        struct mlt_service_s parent;
 
-       // public virtual
+       /* public virtual */
        int ( *start )( mlt_consumer );
        int ( *stop )( mlt_consumer );
        int ( *is_stopped )( mlt_consumer );
        void ( *close )( mlt_consumer );
 
-       // Private data
+       /* Private data */
        void *local;
        void *child;
 
@@ -52,6 +52,7 @@ struct mlt_consumer_s
        pthread_mutex_t put_mutex;
        pthread_cond_t put_cond;
        mlt_frame put;
+       int put_active;
 };
 
 /** Public final methods
@@ -74,5 +75,6 @@ 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 );
+extern int mlt_consumer_profile( mlt_properties properties, char *profile );
 
 #endif