Move chromium to it's own place OBS-URL: https://build.opensuse.org/request/show/79098 OBS-URL: https://build.opensuse.org/package/show/network:chromium/chromium?expand=0&rev=1
23 lines
1.0 KiB
Diff
23 lines
1.0 KiB
Diff
Index: chromium-133.0.6943.98/third_party/webrtc/modules/video_capture/linux/pipewire_session.cc
|
|
===================================================================
|
|
--- chromium-133.0.6943.98.orig/third_party/webrtc/modules/video_capture/linux/pipewire_session.cc
|
|
+++ chromium-133.0.6943.98/third_party/webrtc/modules/video_capture/linux/pipewire_session.cc
|
|
@@ -87,7 +87,7 @@ PipeWireNode::PipeWireNode(PipeWireSessi
|
|
.param = OnNodeParam,
|
|
};
|
|
|
|
- pw_node_add_listener(proxy_, &node_listener_, &node_events, this);
|
|
+ pw_node_add_listener(reinterpret_cast<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(reinterpret_cast<pw_node *>(that->proxy_), 0, id, 0, UINT32_MAX, nullptr);
|
|
break;
|
|
}
|
|
}
|