event fix for playlist and consumer-stopped event
[melted] / src / modules / avformat / consumer_avformat.c
index 1e801ce..a7fd977 100644 (file)
@@ -965,6 +965,8 @@ static void *consumer_thread( void *arg )
        // Just in case we terminated on pause
        mlt_properties_set_int( properties, "running", 0 );
 
+       mlt_consumer_stopped( this );
+
        return NULL;
 }