]> git.sesse.net Git - mlt/blobdiff - src/modules/qimage/qimage_wrapper.cpp
framework: remove global profile, rather share one mlt_profile across a service netwo...
[mlt] / src / modules / qimage / qimage_wrapper.cpp
index af6838eb2e1d71ed065fee5192b9f1a1660cfe12..63cff87bf87a950a675a01e6f6be58677af8a7c6 100644 (file)
@@ -243,7 +243,7 @@ void refresh_qimage( mlt_frame frame, int width, int height )
 
        if ( update_cache )
        {
-               mlt_frame cached = mlt_frame_init( );
+               mlt_frame cached = mlt_frame_init( MLT_PRODUCER_SERVICE( producer ) );
                mlt_properties cached_props = MLT_FRAME_PROPERTIES( cached );
                mlt_properties_set_int( cached_props, "width", current_width );
                mlt_properties_set_int( cached_props, "height", current_height );