module-raop-sink: Fix setting sess.ts-direct prop

This commit is contained in:
Christian Glombek 2024-06-27 05:44:50 +02:00
parent 3f35b80402
commit 34ae5ce649

View file

@ -1905,7 +1905,7 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
if (pw_properties_get(props, "rtp.sender-ts-offset") == NULL) if (pw_properties_get(props, "rtp.sender-ts-offset") == NULL)
pw_properties_setf(props, "rtp.sender-ts-offset", "%d", 0); pw_properties_setf(props, "rtp.sender-ts-offset", "%d", 0);
if (pw_properties_get(props, "sess.ts-direct") == NULL) if (pw_properties_get(props, "sess.ts-direct") == NULL)
pw_properties_set(props, "sess.ts-direct", 0); pw_properties_setf(props, "sess.ts-direct", "%d", 0);
if (pw_properties_get(props, "sess.media") == NULL) if (pw_properties_get(props, "sess.media") == NULL)
pw_properties_set(props, "sess.media", "raop"); pw_properties_set(props, "sess.media", "raop");
if (pw_properties_get(props, "sess.latency.msec") == NULL) if (pw_properties_get(props, "sess.latency.msec") == NULL)