X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_consumer.c;h=32c76680561a44741ed4b0d03e4493f6f712b560;hb=7979a37dedd6e43689a8436a860ee284f7273529;hp=6c859888557f7f8b779a3106b4e2390a7e7ff0e7;hpb=37e6bec1491c345e093e4bedc1ad241c78515d2f;p=melted diff --git a/src/framework/mlt_consumer.c b/src/framework/mlt_consumer.c index 6c85988..32c7668 100644 --- a/src/framework/mlt_consumer.c +++ b/src/framework/mlt_consumer.c @@ -639,6 +639,9 @@ void mlt_consumer_close( mlt_consumer this ) // Get the childs close function void ( *consumer_close )( ) = this->close; + // Just in case... + mlt_consumer_stop( this ); + // Make sure it only gets called once this->close = NULL; this->parent.close = NULL;