X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fqimage%2Fqimage_wrapper.cpp;h=fded1259a3893c7351c99928cc74a9d3662f3ad8;hb=ab145e4359cb73b13958301d8a5c00f3f3ef340b;hp=cc88272380bbdf68e64c7aa640c80adffd210f47;hpb=d9404934027fee5f526cf279928baf157b0e2300;p=melted diff --git a/src/modules/qimage/qimage_wrapper.cpp b/src/modules/qimage/qimage_wrapper.cpp index cc88272..fded125 100644 --- a/src/modules/qimage/qimage_wrapper.cpp +++ b/src/modules/qimage/qimage_wrapper.cpp @@ -153,7 +153,7 @@ void refresh_qimage( mlt_frame frame, int width, int height ) current_alpha = ( uint8_t * )mlt_pool_alloc( current_width * current_height ); // Convert the image - if ( QImage::systemBitOrder( ) == QImage::BigEndian ) + if ( QImage::systemByteOrder( ) == QImage::BigEndian ) mlt_convert_argb_to_yuv422( temp.bits( ), current_width, current_height, temp.bytesPerLine( ), current_image, current_alpha ); else mlt_convert_bgr24a_to_yuv422( temp.bits( ), current_width, current_height, temp.bytesPerLine( ), current_image, current_alpha );