From edf64dc277f299f67324316cad04cb6c43fd3adc Mon Sep 17 00:00:00 2001 From: Tim Blechmann Date: Mon, 12 Feb 2024 14:02:44 +0800 Subject: [PATCH] mdns: fix thread names Linux thread names are limited to 15 chars. providing long thread names causes the thread name not to be applied at all Part-of: --- subprojects/gst-plugins-bad/ext/mdns/gstmicrodnsdevice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/ext/mdns/gstmicrodnsdevice.c b/subprojects/gst-plugins-bad/ext/mdns/gstmicrodnsdevice.c index ded71d4d58..2b6cfe8ee4 100644 --- a/subprojects/gst-plugins-bad/ext/mdns/gstmicrodnsdevice.c +++ b/subprojects/gst-plugins-bad/ext/mdns/gstmicrodnsdevice.c @@ -402,7 +402,7 @@ gst_mdns_device_provider_start (GstDeviceProvider * provider) ctx->last_seen_devices = g_sequence_new (NULL); self->current_ctx = ctx; - g_thread_new (NULL, (GThreadFunc) _listen, ctx); + g_thread_new ("MDNS listener", (GThreadFunc) _listen, ctx); return TRUE; }