Set names for the pipeline threads
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user