From d8bbc7858622b6d9c278469aab701ca0b609cddf Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 15 May 2024 05:35:49 +0200 Subject: Merging upstream version 126.0. Signed-off-by: Daniel Baumann --- third_party/libwebrtc/moz-patch-stack/0108.patch | 27 ++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 third_party/libwebrtc/moz-patch-stack/0108.patch (limited to 'third_party/libwebrtc/moz-patch-stack/0108.patch') diff --git a/third_party/libwebrtc/moz-patch-stack/0108.patch b/third_party/libwebrtc/moz-patch-stack/0108.patch new file mode 100644 index 0000000000..d3ccb0bbd2 --- /dev/null +++ b/third_party/libwebrtc/moz-patch-stack/0108.patch @@ -0,0 +1,27 @@ +From: Jan Grulich +Date: Tue, 5 Mar 2024 08:38:00 +0000 +Subject: Bug 1615282 - WebRTC backport: PipeWire capturer - set capturer as + failed when session is closed r=pehrsons,webrtc-reviewers + +This is a simple backport of an WebRTC upstream change. + +Upstream commit: 058bfe3ae37a7a245f9c8c6c03f4f7ac48fe179d + +Differential Revision: https://phabricator.services.mozilla.com/D202788 +Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/633149c5da9337f67b6659e5d5bead2233027460 +--- + modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc b/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc +index 40764de7ae..81caa9bd2d 100644 +--- a/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc ++++ b/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc +@@ -112,6 +112,7 @@ void BaseCapturerPipeWire::OnScreenCastSessionClosed() { + if (!capturer_failed_) { + options_.screencast_stream()->StopScreenCastStream(); + } ++ capturer_failed_ = true; + } + + void BaseCapturerPipeWire::UpdateResolution(uint32_t width, uint32_t height) { -- cgit v1.2.3