curlbasesink: Rename curl transfer thread
authorPatricia Muscalu <patricia@axis.com>
Wed, 5 Dec 2018 16:55:14 +0000 (17:55 +0100)
committerSebastian Dröge <slomo@coaxion.net>
Thu, 6 Dec 2018 15:36:47 +0000 (15:36 +0000)
Some systems restrict the length of thread names to 16 bytes.

https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/838

ext/curl/gstcurlbasesink.c

index 5a790e1018857778af41927c61cf2d4aaa181346..58776f220e078b18bf110d589b2371128e6d871a 100644 (file)
@@ -1129,8 +1129,7 @@ gst_curl_base_sink_transfer_start_unlocked (GstCurlBaseSink * sink)
   GST_LOG ("creating transfer thread");
   sink->transfer_thread_close = FALSE;
   sink->new_file = TRUE;
-  sink->transfer_thread =
-      g_thread_try_new ("Curl Transfer Thread", (GThreadFunc)
+  sink->transfer_thread = g_thread_try_new ("curl-transfer", (GThreadFunc)
       gst_curl_base_sink_transfer_thread_func, sink, &error);
 
   if (sink->transfer_thread == NULL || error != NULL) {