X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fdv%2Fconsumer_libdv.c;h=6dce526bef2c36950d030879136bdfefa17d15dc;hb=a420b41a9a0771635b340649961f9fb69d3774fe;hp=132cb6de56cc1ad6f399f4db525a2c52eaf0f0aa;hpb=6425ff4dd74c65b2f82939647744da49edabe0ce;p=melted diff --git a/src/modules/dv/consumer_libdv.c b/src/modules/dv/consumer_libdv.c index 132cb6d..6dce526 100644 --- a/src/modules/dv/consumer_libdv.c +++ b/src/modules/dv/consumer_libdv.c @@ -220,6 +220,7 @@ static int consumer_encode_video( mlt_consumer this, uint8_t *dv_frame, mlt_fram uint8_t *image = NULL; // Get the image + mlt_events_fire( this_properties, "consumer-frame-show", frame, NULL ); mlt_frame_get_image( frame, &image, &fmt, &width, &height, 0 ); // Check that we get what we expected @@ -419,6 +420,8 @@ static void *consumer_thread( void *arg ) // Tidy up mlt_pool_release( dv_frame ); + mlt_consumer_stopped( this ); + return NULL; }