summaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
authorJustin McPherson <justin.mcpherson@nokia.com>2010-04-16 02:24:01 (GMT)
committerJustin McPherson <justin.mcpherson@nokia.com>2010-04-16 02:35:49 (GMT)
commit690e0f27ae23189200d98e9300b63914d8e1fe30 (patch)
tree4992d44a2d599185f6235531b514fe3db91fe642 /src/3rdparty
parent24d5c396903c1ce12578a32c2cc10e0ae391e6d5 (diff)
downloadQt-690e0f27ae23189200d98e9300b63914d8e1fe30.zip
Qt-690e0f27ae23189200d98e9300b63914d8e1fe30.tar.gz
Qt-690e0f27ae23189200d98e9300b63914d8e1fe30.tar.bz2
WebKit; build with change to mediaservices.
Reviewed-by: Dmytro Poplavskiy
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/webkit/WebCore/platform/graphics/qt/MediaPlayerPrivateQt.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/3rdparty/webkit/WebCore/platform/graphics/qt/MediaPlayerPrivateQt.cpp b/src/3rdparty/webkit/WebCore/platform/graphics/qt/MediaPlayerPrivateQt.cpp
index 66ffe23..5db94a8 100644
--- a/src/3rdparty/webkit/WebCore/platform/graphics/qt/MediaPlayerPrivateQt.cpp
+++ b/src/3rdparty/webkit/WebCore/platform/graphics/qt/MediaPlayerPrivateQt.cpp
@@ -77,7 +77,7 @@ MediaPlayer::SupportsType MediaPlayerPrivate::supportsType(const String& mime, c
if (!mime.startsWith("audio/") && !mime.startsWith("video/"))
return MediaPlayer::IsNotSupported;
- if (QMediaPlayer::hasSupport(mime, QStringList(codec)) >= QtMultimedia::ProbablySupported)
+ if (QMediaPlayer::hasSupport(mime, QStringList(codec)) >= QtMediaServices::ProbablySupported)
return MediaPlayer::IsSupported;
return MediaPlayer::MayBeSupported;
@@ -344,8 +344,8 @@ unsigned MediaPlayerPrivate::bytesLoaded() const
unsigned MediaPlayerPrivate::totalBytes() const
{
- if (m_mediaPlayer->availableMetaData().contains(QtMultimedia::Size))
- return m_mediaPlayer->metaData(QtMultimedia::Size).toInt();
+ if (m_mediaPlayer->availableMetaData().contains(QtMediaServices::Size))
+ return m_mediaPlayer->metaData(QtMediaServices::Size).toInt();
return 100;
}