Set names for the pipeline threads

This commit is contained in:
Martijn Braam
2024-01-18 02:35:51 +01:00
parent 4032b53592
commit e0e94a62b2
3 changed files with 6 additions and 1 deletions

View File

@@ -17,6 +17,7 @@
#include "gl_util.h"
#include "libdng.h"
#include <sys/mman.h>
#include <sys/prctl.h>
static const float colormatrix_srgb[] = { 3.2409f, -1.5373f, -0.4986f,
-0.9692f, 1.8759f, 0.0415f,
@@ -151,6 +152,7 @@ setup(MPPipeline *pipeline, const void *data)
{
libdng_init();
settings = g_settings_new(APP_ID);
prctl(PR_SET_NAME, "megapixels-pr", NULL, NULL, NULL);
}
void