Skip to content

Commit e72f3cf

Browse files
committed
Bug 1839829 - WebRTC backport: PipeWire video capture - initialize pw_stream raw pointer member r=webrtc-reviewers,ng
This is a simple backport of an WebRTC upstream change. Upstream commit: e21745a78b430ed4f2119b6342acbaa30a52b406 Differential Revision: https://phabricator.services.mozilla.com/D182671
1 parent df841b7 commit e72f3cf

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class VideoCaptureModulePipeWire : public VideoCaptureImpl {
4848
VideoCaptureCapability frameInfo_;
4949
bool started_;
5050

51-
struct pw_stream* stream_;
51+
struct pw_stream* stream_ = nullptr;
5252
struct spa_hook stream_listener_;
5353
};
5454
} // namespace videocapturemodule
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
We cherry-picked this in bug 1839829

0 commit comments

Comments
 (0)