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:
Georges Basile Stavracas Neto 2022-06-22 11:44:16 -03:00
parent d00d1e2926
commit 042c6c078c

View File

@ -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;
}