Change app-id to me.gapixels.Megapixels

This commit is contained in:
Martijn Braam
2023-12-02 11:23:31 +01:00
parent 7f5c7c1c4c
commit 8ca9028d45
10 changed files with 21 additions and 18 deletions

View File

@@ -150,7 +150,7 @@ static void
setup(MPPipeline *pipeline, const void *data)
{
libdng_init();
settings = g_settings_new("org.postmarketos.Megapixels");
settings = g_settings_new(APP_ID);
}
void
@@ -508,9 +508,12 @@ process_image_for_capture(const uint8_t *image, int count)
libdng_set_datetime_now(&dng);
libdng_set_mode_from_pixfmt(&dng, state_proc.mode->v4l_pixfmt);
libdng_set_make_model(&dng,
state_proc.configuration->make,
state_proc.configuration->model);
if (state_proc.configuration->make != NULL &&
state_proc.configuration->model != NULL) {
libdng_set_make_model(&dng,
state_proc.configuration->make,
state_proc.configuration->model);
}
libdng_set_orientation(&dng, orientation);
libdng_set_software(&dng, "Megapixels");
libdng_set_neutral(&dng, state_proc.red, 1.0f, state_proc.blue);