summaryrefslogtreecommitdiff
path: root/src/rmd_load_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rmd_load_cache.c')
-rw-r--r--src/rmd_load_cache.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rmd_load_cache.c b/src/rmd_load_cache.c
index 8ca37f6..417b3dc 100644
--- a/src/rmd_load_cache.c
+++ b/src/rmd_load_cache.c
@@ -31,6 +31,7 @@
#include "rmd_encode_image_buffer.h"
#include "rmd_encode_sound_buffer.h"
#include "rmd_macro.h"
+#include "rmd_threads.h"
#include "rmd_types.h"
#include <pthread.h>
@@ -184,6 +185,8 @@ void *rmdLoadCache(ProgData *pdata) {
UBlocks[(yuv->uv_width * yuv->uv_height) / UV_UNIT_BYTES],
VBlocks[(yuv->uv_width * yuv->uv_height) / UV_UNIT_BYTES];
+ rmdThreadsSetName("rmdEncodeCache");
+
// We allocate the frame that we will use
frame.header = &fheader;
frame.YBlocks = YBlocks;
© All Rights Reserved