parent
d69ff58b79
commit
e6dc18a4f5
@ -0,0 +1,21 @@
|
|||||||
|
diff -up chromium-133.0.6943.53/third_party/webrtc/modules/video_capture/linux/pipewire_session.cc.me chromium-133.0.6943.53/third_party/webrtc/modules/video_capture/linux/pipewire_session.cc
|
||||||
|
--- chromium-133.0.6943.53/third_party/webrtc/modules/video_capture/linux/pipewire_session.cc.me 2025-02-12 19:09:54.742875003 +0100
|
||||||
|
+++ chromium-133.0.6943.53/third_party/webrtc/modules/video_capture/linux/pipewire_session.cc 2025-02-12 19:12:17.492620559 +0100
|
||||||
|
@@ -87,7 +87,7 @@ PipeWireNode::PipeWireNode(PipeWireSessi
|
||||||
|
.param = OnNodeParam,
|
||||||
|
};
|
||||||
|
|
||||||
|
- pw_node_add_listener(proxy_, &node_listener_, &node_events, this);
|
||||||
|
+ pw_node_add_listener((struct pw_node*) proxy_, &node_listener_, &node_events, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
// static
|
||||||
|
@@ -119,7 +119,7 @@ void PipeWireNode::OnNodeInfo(void* data
|
||||||
|
uint32_t id = info->params[i].id;
|
||||||
|
if (id == SPA_PARAM_EnumFormat &&
|
||||||
|
info->params[i].flags & SPA_PARAM_INFO_READ) {
|
||||||
|
- pw_node_enum_params(that->proxy_, 0, id, 0, UINT32_MAX, nullptr);
|
||||||
|
+ pw_node_enum_params((struct pw_node*)that->proxy_, 0, id, 0, UINT32_MAX, nullptr);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue