Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bfa95384feb8c8b235430a59de9e6b9ebff333c9
      
https://github.com/WebKit/WebKit/commit/bfa95384feb8c8b235430a59de9e6b9ebff333c9
  Author: Ievgen Mutavchi <ievgen_mutav...@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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to