summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrank Osterfeld <frank.osterfeld.qnx@kdab.com>2013-11-04 10:03:55 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-04 11:46:30 +0100
commit27e6611c0e49d0474bb300496c03b342a9b2740d (patch)
tree6471e76ac43a2dcd7e7dfdcfa281e8e461bdfdc1 /src
parentac01ab654356435b6db1c8adbf087b4aed3ffc0a (diff)
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 <bweimer@blackberry.com> Reviewed-by: Tobias Koenig <tobias.koenig.qnx@kdab.com> Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/blackberry/mediaplayer/bbmetadata.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/blackberry/mediaplayer/bbmetadata.cpp b/src/plugins/blackberry/mediaplayer/bbmetadata.cpp
index 680833e85..4b51633b1 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;