From 95db9d64c05fde5cca7f888e62dc56d6f1bcaee9 Mon Sep 17 00:00:00 2001 From: Tim Blechmann Date: Mon, 12 Feb 2024 13:52:06 +0800 Subject: [PATCH] v4l: fix thread name 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-good/sys/v4l2/gstv4l2deviceprovider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-good/sys/v4l2/gstv4l2deviceprovider.c b/subprojects/gst-plugins-good/sys/v4l2/gstv4l2deviceprovider.c index 5eeec7dc8b..7910679601 100644 --- a/subprojects/gst-plugins-good/sys/v4l2/gstv4l2deviceprovider.c +++ b/subprojects/gst-plugins-good/sys/v4l2/gstv4l2deviceprovider.c @@ -427,7 +427,7 @@ gst_v4l2_device_provider_start (GstDeviceProvider * provider) self->context = g_main_context_new (); self->loop = g_main_loop_new (self->context, FALSE); - self->thread = g_thread_new ("v4l2-device-provider", provider_thread, + self->thread = g_thread_new ("v4l2-dev-prvdr", provider_thread, g_object_ref (self)); while (self->started == FALSE)