/* Allocate the image */
*format = mlt_image_rgb24a;
- mlt_position time = mlt_producer_position( &this->parent ) + mlt_producer_get_in( &this->parent );
if ( mlt_properties_get_int( producer_props, "force_reload" ) ) {
if (mlt_properties_get_int( producer_props, "force_reload" ) > 1) read_xml(producer_props);
mlt_properties_set_int( producer_props, "force_reload", 0 );
- drawKdenliveTitle( this, frame, *width, *height, time, 1);
+ drawKdenliveTitle( this, frame, *width, *height, mlt_frame_original_position(frame), 1);
}
- else drawKdenliveTitle( this, frame, *width, *height, time, 0);
+ else drawKdenliveTitle( this, frame, *width, *height, mlt_frame_original_position(frame), 0);
// Get width and height (may have changed during the refresh)
*width = mlt_properties_get_int( properties, "width" );