]> git.sesse.net Git - mlt/commitdiff
+ Fix for byte order as spotted by Goncalo Carvhalo (many thanks :-))
authorlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Wed, 12 Apr 2006 07:55:39 +0000 (07:55 +0000)
committerlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Wed, 12 Apr 2006 07:55:39 +0000 (07:55 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@906 d19143bc-622f-0410-bfdd-b5b2a6649095

src/modules/qimage/qimage_wrapper.cpp

index cc88272380bbdf68e64c7aa640c80adffd210f47..fded1259a3893c7351c99928cc74a9d3662f3ad8 100644 (file)
@@ -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 );