producer_pixbuf.c: bugfix (kdenlive-575) memory leak; revert unnecessary part of...
authorddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Tue, 27 Jan 2009 06:48:59 +0000 (06:48 +0000)
committerddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Tue, 27 Jan 2009 06:48:59 +0000 (06:48 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1328 d19143bc-622f-0410-bfdd-b5b2a6649095

src/modules/gtk2/producer_pixbuf.c

index 591631c..9e0d4cf 100644 (file)
@@ -490,6 +490,9 @@ static int producer_get_frame( mlt_producer producer, mlt_frame_ptr frame, int i
                // Ensure that we have a way to obtain the position in the get_image
                mlt_properties_set_position( properties, "pixbuf_position", mlt_producer_position( producer ) );
 
+               // Refresh the image
+               refresh_image( *frame, 0, 0 );
+
                // Set producer-specific frame properties
                mlt_properties_set_int( properties, "progressive", mlt_properties_get_int( producer_properties, "progressive" ) );
                mlt_properties_set_double( properties, "aspect_ratio", mlt_properties_get_double( producer_properties, "aspect_ratio" ) );