From: ddennedy Date: Tue, 27 Jan 2009 06:48:59 +0000 (+0000) Subject: producer_pixbuf.c: bugfix (kdenlive-575) memory leak; revert unnecessary part of... X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=8b8101d14ad508f677128b65b704e0129c1868ff;p=melted producer_pixbuf.c: bugfix (kdenlive-575) memory leak; revert unnecessary part of previous commit git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1328 d19143bc-622f-0410-bfdd-b5b2a6649095 --- diff --git a/src/modules/gtk2/producer_pixbuf.c b/src/modules/gtk2/producer_pixbuf.c index 591631c..9e0d4cf 100644 --- a/src/modules/gtk2/producer_pixbuf.c +++ b/src/modules/gtk2/producer_pixbuf.c @@ -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" ) );