mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-24 20:00:20 +00:00
ao_pipewire: don't load client-rt.conf properties
Deprecated in 24bcacc619
Fixes: #15914
This commit is contained in:
@@ -510,10 +510,11 @@ static int pipewire_init_boilerplate(struct ao *ao)
|
||||
if (pw_thread_loop_start(p->loop) < 0)
|
||||
goto error;
|
||||
|
||||
context = pw_context_new(
|
||||
pw_thread_loop_get_loop(p->loop),
|
||||
pw_properties_new(PW_KEY_CONFIG_NAME, "client-rt.conf", NULL),
|
||||
0);
|
||||
struct pw_properties *props = NULL;
|
||||
#if !PW_CHECK_VERSION(1, 3, 81)
|
||||
props = pw_properties_new(PW_KEY_CONFIG_NAME, "client-rt.conf", NULL);
|
||||
#endif
|
||||
context = pw_context_new(pw_thread_loop_get_loop(p->loop), props, 0);
|
||||
if (!context)
|
||||
goto error;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user