mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
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:
parent
6d20fcc9df
commit
0f7b9dbe75
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue