mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
linux-pipewire: Always load PipeWire captures
After the removal of GLX, we effectively always load the PipeWire captures. Remove the switch statement.
This commit is contained in:
@@ -36,15 +36,7 @@ bool obs_module_load(void)
|
||||
{
|
||||
pw_init(NULL, NULL);
|
||||
|
||||
// OBS PipeWire Screen Capture
|
||||
switch (obs_get_nix_platform()) {
|
||||
#ifdef ENABLE_WAYLAND
|
||||
case OBS_NIX_PLATFORM_WAYLAND:
|
||||
#endif
|
||||
case OBS_NIX_PLATFORM_X11_EGL:
|
||||
pipewire_capture_load();
|
||||
break;
|
||||
}
|
||||
pipewire_capture_load();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user