aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/async.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-10-18 18:40:16 +0200
committerAnton Khirnov <anton@khirnov.net>2022-10-24 02:00:31 +0200
commita2f5913857b9ed5e2823aa02ea9293a035958456 (patch)
tree26b07e1fd601b374246734ff49c1359142ca5e15 /libavformat/async.c
parent5f82447dfc4df8540ab52534dafb5fbd5aa99497 (diff)
downloadffmpeg-a2f5913857b9ed5e2823aa02ea9293a035958456.tar.gz
lavf: set internal thread names
Diffstat (limited to 'libavformat/async.c')
-rw-r--r--libavformat/async.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/async.c b/libavformat/async.c
index 3c6f89cab9..e096b0bc6f 100644
--- a/libavformat/async.c
+++ b/libavformat/async.c
@@ -189,6 +189,8 @@ static void *async_buffer_task(void *arg)
int ret = 0;
int64_t seek_ret;
+ ff_thread_setname("async");
+
while (1) {
int fifo_space, to_copy;