// Obtain properties of producer
mlt_properties producer_props = MLT_PRODUCER_PROPERTIES( producer );
+ // Check if user wants us to reload the image
+ if ( mlt_properties_get_int( producer_props, "force_reload" ) )
+ {
+ pixbuf = NULL;
+ this->image = NULL;
+ mlt_properties_set_int( producer_props, "force_reload", 0 );
+ }
+
// Obtain the cache flag and structure
int use_cache = mlt_properties_get_int( producer_props, "cache" );
mlt_properties cache = mlt_properties_get_data( producer_props, "_cache", NULL );
// Obtain properties of producer
mlt_properties producer_props = MLT_PRODUCER_PROPERTIES( producer );
+ // Check if user wants us to reload the image
+ if ( mlt_properties_get_int( producer_props, "force_reload" ) )
+ {
+ qimage = NULL;
+ self->current_image = NULL;
+ mlt_properties_set_int( producer_props, "force_reload", 0 );
+ }
+
// Obtain the cache flag and structure
int use_cache = mlt_properties_get_int( producer_props, "cache" );
mlt_properties cache = ( mlt_properties )mlt_properties_get_data( producer_props, "_cache", NULL );