[Webkit-unassigned] [Bug 164116] New: [GStreamer][MSE] Fix player private selection when MSE is enabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 28 02:32:34 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=164116

            Bug ID: 164116
           Summary: [GStreamer][MSE] Fix player private selection when MSE
                    is enabled
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: eocanha at igalia.com

It looks like the player private selection mechanism doesn't rely exclusively on the supportsType() function. Even when supportsType() returns false (a particular player declines to be selected to play a content) MediaPlayer::loadWithNextMediaEngine() can still use nextMediaEngine() and select a completely unappropriate player private for that kind of content. In that case, the expected behaviour (not met by the MSE private player) is to set networkState to MediaPlayer::FormatError. That would force a different player to be used.

This misbehaviour was the cause of the massive test crashes reported in #164022, as the MSE player was being selected to play regular videos despite not being properly configured with a MediaSourcePrivateClient (this can't happen for an MSE video).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161028/b81b377e/attachment.html>


More information about the webkit-unassigned mailing list