curlbasesink: Rename curl transfer thread

Some systems restrict the length of thread names to 16 bytes.

https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/838
This commit is contained in:
Patricia Muscalu 2018-12-05 17:55:14 +01:00 committed by Sebastian Dröge
parent 5b8935bc77
commit e0adbee49a

View 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) {