]> git.sesse.net Git - mlt/commitdiff
Fix loading of images with special chars in path (kdenlive-2835)
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Mon, 19 Nov 2012 16:18:00 +0000 (17:18 +0100)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Mon, 19 Nov 2012 16:18:00 +0000 (17:18 +0100)
src/modules/qimage/qimage_wrapper.cpp

index 5c9bc4a6b16e7d0597353d9899c776bf837a8ec6..3b53a56f16b77cd76e0ed45e1cc267f4b2bf3e50 100644 (file)
@@ -214,7 +214,7 @@ int refresh_qimage( producer_qimage self, mlt_frame frame )
        if ( !self->qimage || mlt_properties_get_int( producer_props, "_disable_exif" ) != disable_exif )
        {
                self->current_image = NULL;
-               QImage *qimage = new QImage( mlt_properties_get_value( self->filenames, image_idx ) );
+               QImage *qimage = new QImage( QString::fromUtf8( mlt_properties_get_value( self->filenames, image_idx ) ) );
                self->qimage = qimage;
 
                if ( !qimage->isNull( ) )