default progressive on
[melted] / src / modules / sdl / consumer_sdl.c
index 3e5d28e..2e5f70c 100644 (file)
@@ -101,6 +101,9 @@ mlt_consumer consumer_sdl_init( char *arg )
                // Default scaler (for now we'll use nearest)
                mlt_properties_set( this->properties, "rescale", "nearest" );
 
+               // Default progressive true
+               mlt_properties_set_int( this->properties, "progressive", 1 );
+
                // Get aspect ratio
                this->aspect_ratio = mlt_properties_get_double( this->properties, "aspect_ratio" );
                
@@ -515,6 +518,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;