Skip to content

Commit

Permalink
Bug 1839829 - WebRTC backport: PipeWire video capture - initialize pw…
Browse files Browse the repository at this point in the history
…_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
  • Loading branch information
grulja committed Jul 4, 2023
1 parent 7388ced commit 5a74fbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class VideoCaptureModulePipeWire : public VideoCaptureImpl {
VideoCaptureCapability frameInfo_;
bool started_;

struct pw_stream* stream_;
struct pw_stream* stream_ = nullptr;
struct spa_hook stream_listener_;
};
} // namespace videocapturemodule
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
We cherry-picked this in bug 1839829

0 comments on commit 5a74fbc

Please sign in to comment.