From: lilo_booter Date: Sat, 21 Aug 2004 09:57:51 +0000 (+0000) Subject: consumer purge X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=9a03261fe44f2c036367b31177da50ebc47cca90;p=melted consumer purge git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt++@383 d19143bc-622f-0410-bfdd-b5b2a6649095 --- diff --git a/mlt++/src/MltConsumer.cpp b/mlt++/src/MltConsumer.cpp index a8624cc..370101d 100644 --- a/mlt++/src/MltConsumer.cpp +++ b/mlt++/src/MltConsumer.cpp @@ -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( ) ); diff --git a/mlt++/src/MltConsumer.h b/mlt++/src/MltConsumer.h index e1eb187..fa43e10 100644 --- a/mlt++/src/MltConsumer.h +++ b/mlt++/src/MltConsumer.h @@ -43,6 +43,7 @@ namespace Mlt mlt_service get_service( ); virtual int connect( Service &service ); int start( ); + void purge( ); int stop( ); bool is_stopped( ); };