Commit 0f7b9dbe authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

video-converter: Give a name to the thread-pool threads

This way they can be distinguished from any other threads in the same
parent 6d20fcc9
...@@ -262,7 +262,7 @@ gst_parallelized_task_runner_new (guint n_threads) ...@@ -262,7 +262,7 @@ gst_parallelized_task_runner_new (guint n_threads)
/* First thread is the one calling run() */ /* First thread is the one calling run() */
if (i > 0) { if (i > 0) {
self->threads[i].thread = self->threads[i].thread =
g_thread_try_new (NULL, gst_parallelized_task_thread_func, g_thread_try_new ("videoconvert", gst_parallelized_task_thread_func,
&self->threads[i], &err); &self->threads[i], &err);
if (!self->threads[i].thread) if (!self->threads[i].thread)
goto error; goto error;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment