[webkit-changes] [WebKit/WebKit] d897c7: Cherry-pick 261786 at main (18e688d4e90d). https://bu...

Philippe Normand noreply at github.com
Fri Mar 17 15:34:39 PDT 2023


  Branch: refs/heads/webkitglib/2.38
  Home:   https://github.com/WebKit/WebKit
  Commit: d897c722349805e0cc431e09117b4d8163c56ab4
      https://github.com/WebKit/WebKit/commit/d897c722349805e0cc431e09117b4d8163c56ab4
  Author: Philippe Normand <philn at igalia.com>
  Date:   2023-03-18 (Sat, 18 Mar 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
    M Source/WebCore/platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp

  Log Message:
  -----------
  Cherry-pick 261786 at main (18e688d4e90d). https://bugs.webkit.org/show_bug.cgi?id=254025

    REGRESSION(261684 at main): [GStreamer] Crash in webkit_media_stream_src_class_init() when logging into Google account
    https://bugs.webkit.org/show_bug.cgi?id=254025

    Reviewed by Xabier Rodriguez-Calvar.

    Make sure that GStreamer is initialized before attempting to register the custom WebKit GStreamer
    elements.

    Drive-by change, move the MSE "decoding limits" just before it's used and remove mis-used and
    superfluous ASSERT_NOT_REACHED.

    * Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
    (WebCore::MediaPlayerPrivateGStreamer::supportsType):
    * Source/WebCore/platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp:
    (WebCore::MediaPlayerPrivateGStreamerMSE::supportsType):

    Canonical link: https://commits.webkit.org/261786@main




More information about the webkit-changes mailing list