]> git.sesse.net Git - mlt/commitdiff
Revert "Improve stop handling in mlt_consumer."
authorDan Dennedy <dan@dennedy.org>
Sun, 16 Dec 2012 02:04:23 +0000 (18:04 -0800)
committerDan Dennedy <dan@dennedy.org>
Sun, 16 Dec 2012 02:04:23 +0000 (18:04 -0800)
This reverts commit e33dedb46c0e4786023e1fe0a618e3f4a35728ae.

src/framework/mlt_consumer.c

index 89767487d54bb2e60890a7e4095a9bc7a3b007d1..2a350a76abf8ecf4e529bfdcd2d9cee93a9b3bb3 100644 (file)
@@ -1410,10 +1410,6 @@ void mlt_consumer_stopped( mlt_consumer self )
 
 int mlt_consumer_stop( mlt_consumer self )
 {
-       // Return error if supplied invalid or stopped consumer.
-       if ( !self || mlt_consumer_is_stopped( self ) )
-               return -1;
-
        // Get the properies
        mlt_properties properties = MLT_CONSUMER_PROPERTIES( self );
 
@@ -1493,7 +1489,7 @@ void mlt_consumer_close( mlt_consumer self )
                if ( consumer_close )
                {
                        // Just in case...
-                       mlt_consumer_stop( self );
+                       //mlt_consumer_stop( self );
 
                        self->close = NULL;
                        consumer_close( self );