[SCM] WebKit Debian packaging branch, webkit-1.2, updated. upstream/1.1.90-6072-g9a69373

eric at webkit.org eric at webkit.org
Thu Apr 8 02:01:28 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit b4da32498a17c35852ead12479a4148bb7197071
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Feb 26 20:24:59 2010 +0000

    2010-02-26  Nicholas Young  <nicholas.young at nokia.com>
    
            Reviewed by Tor Arne Vestbø.
    
            [Qt] Incorrect handling of MIME types in Media Player
            https://bugs.webkit.org/show_bug.cgi?id=35413
    
            No new tests. Bug fix in backend.
    
            * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
            (WebCore::MediaPlayerPrivate::supportsType): Corrected logic.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55299 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index d0771a6..e2b1ce9 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,15 @@
+2010-02-26  Nicholas Young  <nicholas.young at nokia.com>
+
+        Reviewed by Tor Arne Vestbø.
+
+        [Qt] Incorrect handling of MIME types in Media Player
+        https://bugs.webkit.org/show_bug.cgi?id=35413
+
+        No new tests. Bug fix in backend.
+
+        * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
+        (WebCore::MediaPlayerPrivate::supportsType): Corrected logic.
+
 2010-02-26  Joanmarie Diggs  <joanmarie.diggs at gmail.com>
 
         Reviewed by Xan Lopez.
diff --git a/WebCore/platform/graphics/qt/MediaPlayerPrivateQt.cpp b/WebCore/platform/graphics/qt/MediaPlayerPrivateQt.cpp
index 1b75fdd..e07b393 100644
--- a/WebCore/platform/graphics/qt/MediaPlayerPrivateQt.cpp
+++ b/WebCore/platform/graphics/qt/MediaPlayerPrivateQt.cpp
@@ -74,7 +74,7 @@ void MediaPlayerPrivate::getSupportedTypes(HashSet<String> &supported)
 
 MediaPlayer::SupportsType MediaPlayerPrivate::supportsType(const String& mime, const String& codec)
 {
-    if (!mime.startsWith("audio/") || !mime.startsWith("video/"))
+    if (!mime.startsWith("audio/") && !mime.startsWith("video/"))
         return MediaPlayer::IsNotSupported;
 
     if (QMediaPlayer::hasSupport(mime, QStringList(codec)) >= QtMultimedia::ProbablySupported)

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list