diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-10-18 18:40:16 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-10-24 02:00:31 +0200 |
commit | a2f5913857b9ed5e2823aa02ea9293a035958456 (patch) | |
tree | 26b07e1fd601b374246734ff49c1359142ca5e15 /libavformat/fifo.c | |
parent | 5f82447dfc4df8540ab52534dafb5fbd5aa99497 (diff) | |
download | ffmpeg-a2f5913857b9ed5e2823aa02ea9293a035958456.tar.gz |
lavf: set internal thread names
Diffstat (limited to 'libavformat/fifo.c')
-rw-r--r-- | libavformat/fifo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/fifo.c b/libavformat/fifo.c index 692c854be2..7b35c9bf02 100644 --- a/libavformat/fifo.c +++ b/libavformat/fifo.c @@ -432,6 +432,8 @@ static void *fifo_consumer_thread(void *data) fifo_thread_ctx.avf = avf; fifo_thread_ctx.last_received_dts = AV_NOPTS_VALUE; + ff_thread_setname("fifo-consumer"); + while (1) { uint8_t just_flushed = 0; |