[webkit-changes] [WebKit/WebKit] 37a648: [GStreamer][MSE] Make the source element behave as...

Philippe Normand noreply at github.com
Thu Feb 9 13:35:53 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 37a64834c957cb8e870dbf07c6ea46f1abb898cd
      https://github.com/WebKit/WebKit/commit/37a64834c957cb8e870dbf07c6ea46f1abb898cd
  Author: Philippe Normand <philn at igalia.com>
  Date:   2023-02-09 (Thu, 09 Feb 2023)

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

  Log Message:
  -----------
  [GStreamer][MSE] Make the source element behave as an adaptive stream
https://bugs.webkit.org/show_bug.cgi?id=251913

Reviewed by Xabier Rodriguez-Calvar.

Make the source element handle scheduling queries, similarly to the http source element. This
allows urisourcebin to handle the source element as providing an "adaptive stream" and thus skip the
internal multiqueue. Downstream decodebin already adds a multiqueue so this one is redundant. In
order for this to work we also need to disable the "use-buffering" uridecodebin property.

* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::configureElement):
* Source/WebCore/platform/graphics/gstreamer/mse/WebKitMediaSourceGStreamer.cpp:
(webKitMediaSrcQuery):
(webkit_media_src_class_init):

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




More information about the webkit-changes mailing list