[webkit-changes] [WebKit/WebKit] bfa953: [WPE][GStreamer] support auto-pluging of different...

emutavchi noreply at github.com
Thu May 11 09:25:08 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bfa95384feb8c8b235430a59de9e6b9ebff333c9
      https://github.com/WebKit/WebKit/commit/bfa95384feb8c8b235430a59de9e6b9ebff333c9
  Author: Ievgen Mutavchi <Ievgen_Mutavchi at comcast.com>
  Date:   2023-05-11 (Thu, 11 May 2023)

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

  Log Message:
  -----------
  [WPE][GStreamer] support auto-pluging of different sinks
https://bugs.webkit.org/show_bug.cgi?id=256482

Reviewed by Xabier Rodriguez-Calvar.

This solves several cases:

- secondary (video only/pip) playback: audio sink allocates resources in
ready state (as part of auto audio sink detection), which interferes
with the main playback.

- "external" playback, or playback with other sink elements: in this
case we want playbin2 to autoplug needed elements.

* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::createAudioSink):
(WebCore::MediaPlayerPrivateGStreamer::gstreamerPositionFromSinks const):
(WebCore::MediaPlayerPrivateGStreamer::handleMessage):
(WebCore::MediaPlayerPrivateGStreamer::createHolePunchVideoSink):

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




More information about the webkit-changes mailing list