⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 219979 in webkit


Ignore:
Timestamp:
Jul 27, 2017, 3:18:18 AM (9 years ago)
Author:
calvaris@igalia.com
Message:

[GStreamer][EME] Fix phony debug output in player base for supported key system
​https://bugs.webkit.org/show_bug.cgi?id=174888

Reviewed by Žan Doberšek.

The debug output was returning always false because that method
was not checking anything before. Now it is and should reflect it.

  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:

(WebCore::MediaPlayerPrivateGStreamerBase::supportsKeySystem):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r219978 r219979  
     12017-07-27  Xabier Rodriguez Calvar  <calvaris@igalia.com>
     2
     3        [GStreamer][EME] Fix phony debug output in player base for supported key system
     4        https://bugs.webkit.org/show_bug.cgi?id=174888
     5
     6        Reviewed by Žan Doberšek.
     7
     8        The debug output was returning always false because that method
     9        was not checking anything before. Now it is and should reflect it.
     10
     11        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
     12        (WebCore::MediaPlayerPrivateGStreamerBase::supportsKeySystem):
     13
    1142017-07-27  Zan Dobersek  <zdobersek@igalia.com>
    215
  • trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp

    r219945 r219979  
    10341034bool MediaPlayerPrivateGStreamerBase::supportsKeySystem(const String& keySystem, const String& mimeType)
    10351035{
    1036     GST_INFO("Checking for KeySystem support with %s and type %s: false.", keySystem.utf8().data(), mimeType.utf8().data());
     1036    bool result = false;
    10371037
    10381038#if ENABLE(ENCRYPTED_MEDIA)
    10391039    if (equalLettersIgnoringASCIICase(keySystem, "org.w3.clearkey"))
    1040         return true;
    1041 #endif
    1042 
    1043     return false;
     1040        result = true;
     1041#endif
     1042
     1043    GST_DEBUG("checking for KeySystem support with %s and type %s: %s", keySystem.utf8().data(), mimeType.utf8().data(), result ? "true" : "false");
     1044    return result;
    10441045}
    10451046
Note: See TracChangeset for help on using the changeset viewer.