Optimisations (part 0), pixel v percentage, reworked aspect ratio calcs, ante/post...
[melted] / src / modules / sdl / consumer_sdl.c
index 3e5d28e..715833c 100644 (file)
@@ -515,6 +515,9 @@ static void *consumer_thread( void *arg )
                SDL_FreeYUVOverlay( this->sdl_overlay );
        SDL_Quit( );
 
+       while( -- this->count >= 0 )
+               mlt_frame_close( this->queue[ this->count ] );
+
        this->sdl_screen = NULL;
        this->sdl_overlay = NULL;
        this->audio_avail = 0;