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

Changeset 212830 in webkit


Ignore:
Timestamp:
Feb 22, 2017, 8:54:45 AM (10 years ago)
Author:
calvaris@igalia.com
Message:

[GStreamer][EME] Fix issue with allowed systems extraction
​https://bugs.webkit.org/show_bug.cgi?id=168717

Reviewed by Carlos Garcia Campos.

The allowed systems were not being extracted from the need-context
message because the loop was not stopping on the right condition.

  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:

(WebCore::extractEventsAndSystemsFromMessage): Fix wrong
condition.
(WebCore::MediaPlayerPrivateGStreamerBase::handleProtectionEvent):
Add better debug category.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r212828 r212830  
     12017-02-22  Xabier Rodriguez Calvar  <calvaris@igalia.com>
     2
     3        [GStreamer][EME] Fix issue with allowed systems extraction
     4        https://bugs.webkit.org/show_bug.cgi?id=168717
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        The allowed systems were not being extracted from the need-context
     9        message because the loop was not stopping on the right condition.
     10
     11        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
     12        (WebCore::extractEventsAndSystemsFromMessage): Fix wrong
     13        condition.
     14        (WebCore::MediaPlayerPrivateGStreamerBase::handleProtectionEvent):
     15        Add better debug category.
     16
    1172017-02-22  Antti Koivisto  <antti@apple.com>
    218
  • trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp

    r212608 r212830  
    269269    Vector<String> streamEncryptionAllowedSystemsVector;
    270270    unsigned i;
    271     for (i = 0; !streamEncryptionAllowedSystems[i]; ++i)
     271    for (i = 0; streamEncryptionAllowedSystems[i]; ++i)
    272272        streamEncryptionAllowedSystemsVector.append(streamEncryptionAllowedSystems[i]);
    273273
    … …  
    12401240{
    12411241    if (m_handledProtectionEvents.contains(GST_EVENT_SEQNUM(event))) {
    1242         GST_TRACE("event %u already handled", GST_EVENT_SEQNUM(event));
     1242        GST_DEBUG("event %u already handled", GST_EVENT_SEQNUM(event));
    12431243        m_handledProtectionEvents.remove(GST_EVENT_SEQNUM(event));
    12441244        return;
Note: See TracChangeset for help on using the changeset viewer.