Service attach filters
[melted] / mlt++ / src / MltConsumer.h
index e1eb187..96d3c33 100644 (file)
@@ -32,10 +32,10 @@ namespace Mlt
        class Consumer : public Service
        {
                private:
-                       bool destroy;
                        mlt_consumer instance;
                public:
                        Consumer( char *id, char *service = NULL );
+                       Consumer( Service &consumer );
                        Consumer( Consumer &consumer );
                        Consumer( mlt_consumer consumer );
                        virtual ~Consumer( );
@@ -43,6 +43,7 @@ namespace Mlt
                        mlt_service get_service( );
                        virtual int connect( Service &service );
                        int start( );
+                       void purge( );
                        int stop( );
                        bool is_stopped( );
        };