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

This way they can be distinguished from any other threads in the same
process.
This commit is contained in:
Sebastian Dröge 2017-02-24 10:04:21 +02:00
parent 6d20fcc9df
commit 0f7b9dbe75

View file

@ -262,7 +262,7 @@ gst_parallelized_task_runner_new (guint n_threads)
/* First thread is the one calling run() */
if (i > 0) {
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);
if (!self->threads[i].thread)
goto error;