mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
Bug 1724900: WebRTC backport: PipeWire video capture - set device unique ID during initialization r=pehrsons,webrtc-reviewers
This is a simple backport of an WebRTC upstream change. Upstream commit: 4beafa38d546ab6c0bb423c12762f0c4568aa5ce Differential Revision: https://phabricator.services.mozilla.com/D176626
This commit is contained in:
parent
4715b5a927
commit
8a3869b500
@ -62,6 +62,10 @@ int32_t VideoCaptureModulePipeWire::Init(const char* deviceUniqueId) {
|
||||
|
||||
node_id_ = id.value();
|
||||
|
||||
const int len = strlen(deviceUniqueId);
|
||||
_deviceUniqueId = new (std::nothrow) char[len + 1];
|
||||
memcpy(_deviceUniqueId, deviceUniqueId, len + 1);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
1
third_party/libwebrtc/moz-patch-stack/4beafa38d5.no-op-cherry-pick-msg
vendored
Normal file
1
third_party/libwebrtc/moz-patch-stack/4beafa38d5.no-op-cherry-pick-msg
vendored
Normal file
@ -0,0 +1 @@
|
||||
We cherry-picked this in bug 1724900
|
Loading…
Reference in New Issue
Block a user