From: Frank Osterfeld Date: Mon, 4 Nov 2013 09:03:55 +0000 (+0100) Subject: BB10: do not mix up pixel width and height X-Git-Tag: accepted/tizen/generic/20140129.173457~55 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=27e6611c0e49d0474bb300496c03b342a9b2740d;p=platform%2Fupstream%2Fqtmultimedia.git BB10: do not mix up pixel width and height This fixes the aspect ratio calculation for video windows. Change-Id: Ie4762b98ee805a41031e1ba88f5cd353426dfdf8 Reviewed-by: Bernd Weimer Reviewed-by: Tobias Koenig Reviewed-by: Thomas McGuire --- diff --git a/src/plugins/blackberry/mediaplayer/bbmetadata.cpp b/src/plugins/blackberry/mediaplayer/bbmetadata.cpp index 680833e..4b51633 100644 --- a/src/plugins/blackberry/mediaplayer/bbmetadata.cpp +++ b/src/plugins/blackberry/mediaplayer/bbmetadata.cpp @@ -64,8 +64,8 @@ static const char * trackKey = "md_title_track"; static const char * widthKey = "md_video_width"; static const char * heightKey = "md_video_height"; static const char * mediaTypeKey = "md_title_mediatype"; -static const char * pixelWidthKey = "md_video_pixel_height"; -static const char * pixelHeightKey = "md_video_pixel_width"; +static const char * pixelWidthKey = "md_video_pixel_width"; +static const char * pixelHeightKey = "md_video_pixel_height"; static const char * seekableKey = "md_title_seekable"; static const int mediaTypeAudioFlag = 4;