consumer purge
authorlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Sat, 21 Aug 2004 09:57:51 +0000 (09:57 +0000)
committerlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Sat, 21 Aug 2004 09:57:51 +0000 (09:57 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt++@383 d19143bc-622f-0410-bfdd-b5b2a6649095

mlt++/src/MltConsumer.cpp
mlt++/src/MltConsumer.h

index a8624cc..370101d 100644 (file)
@@ -69,6 +69,11 @@ int Consumer::start( )
        return mlt_consumer_start( get_consumer( ) );
 }
 
+void Consumer::purge( )
+{
+       mlt_consumer_purge( get_consumer( ) );
+}
+
 int Consumer::stop( )
 {
        return mlt_consumer_stop( get_consumer( ) );
index e1eb187..fa43e10 100644 (file)
@@ -43,6 +43,7 @@ namespace Mlt
                        mlt_service get_service( );
                        virtual int connect( Service &service );
                        int start( );
+                       void purge( );
                        int stop( );
                        bool is_stopped( );
        };