mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
screen-cast-stream-src: Adjust to pipewire API break
https://bugzilla.gnome.org/show_bug.cgi?id=787953
This commit is contained in:
parent
ba194bd19e
commit
f0c6c4eb1f
@ -535,7 +535,13 @@ meta_screen_cast_stream_src_initable_init (GInitable *initable,
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
#if PIPEWIRE_VERSION_MICRO == 4
|
||||
priv->pipewire_remote = pw_remote_new (priv->pipewire_core, NULL);
|
||||
#elif PIPEWIRE_VERSION_MICRO >= 5
|
||||
priv->pipewire_remote = pw_remote_new (priv->pipewire_core, NULL, 0);
|
||||
#else
|
||||
priv->pipewire_remote = NULL;
|
||||
#endif
|
||||
if (!priv->pipewire_remote)
|
||||
{
|
||||
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
|
||||
|
Loading…
Reference in New Issue
Block a user