mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-09 22:54:10 +02:00
Closes: https://bugs.gentoo.org/951690 Signed-off-by: Quincy Fleming <quincyf467@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/41218 Signed-off-by: Sam James <sam@gentoo.org>
23 lines
891 B
Diff
23 lines
891 B
Diff
Bug: https://github.com/desktop-app/tg_owt/issues/148
|
|
Upstream pull request: https://github.com/desktop-app/tg_owt/pull/149/files
|
|
|
|
--- a/src/modules/video_capture/linux/pipewire_session.cc
|
|
+++ b/src/modules/video_capture/linux/pipewire_session.cc
|
|
@@ -60,7 +60,7 @@
|
|
.param = OnNodeParam,
|
|
};
|
|
|
|
- pw_node_add_listener(proxy_, &node_listener_, &node_events, this);
|
|
+ pw_node_add_listener(reinterpret_cast<struct pw_node*>(proxy_), &node_listener_, &node_events, this);
|
|
}
|
|
|
|
PipeWireNode::~PipeWireNode() {
|
|
@@ -94,7 +94,7 @@
|
|
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(reinterpret_cast<struct pw_node*>(that->proxy_), 0, id, 0, UINT32_MAX, nullptr);
|
|
break;
|
|
}
|
|
}
|