From 2aabc4610b9d51857a09149faab5efaee733264c Mon Sep 17 00:00:00 2001 From: columbarius Date: Sat, 9 Oct 2021 03:10:55 +0200 Subject: [PATCH] gst: Don't reconnect gstpipewiresrc Clients connecting via the gstreamer plugin can stall a stream when reconnecting to it. Disable reconnection until the gstreamer plugin has improved. --- src/gst/gstpipewiresrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gst/gstpipewiresrc.c b/src/gst/gstpipewiresrc.c index 708ddbe86..8914947c5 100644 --- a/src/gst/gstpipewiresrc.c +++ b/src/gst/gstpipewiresrc.c @@ -714,7 +714,7 @@ gst_pipewire_src_negotiate (GstBaseSrc * basesrc) pw_stream_connect (pwsrc->stream, PW_DIRECTION_INPUT, pwsrc->path ? (uint32_t)atoi(pwsrc->path) : PW_ID_ANY, - PW_STREAM_FLAG_AUTOCONNECT, + PW_STREAM_FLAG_AUTOCONNECT | PW_STREAM_FLAG_DONT_RECONNECT, (const struct spa_pod **)possible->pdata, possible->len); g_ptr_array_free (possible, TRUE);