diff options
author | jstebbins <[email protected]> | 2014-07-21 15:01:13 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2014-07-21 15:01:13 +0000 |
commit | 0b297972d7bdd4448f29db4e06a1d68af74bfab9 (patch) | |
tree | 332d13f3b4ff89da18d996dc03a26d17ca18b90a /gtk/src/presets.c | |
parent | 8eba50b3ff98e419cad4cc1753877292c82b21dd (diff) |
LinGui/CLI/libhb: add nlmeans denoise filter to lingui
Move nlmeans preset&tune parsing from cli to libhb
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6239 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/presets.c')
-rw-r--r-- | gtk/src/presets.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gtk/src/presets.c b/gtk/src/presets.c index 3bf9ee970..f2749e8df 100644 --- a/gtk/src/presets.c +++ b/gtk/src/presets.c @@ -1927,9 +1927,10 @@ value_map_t denoise_xlat[] = { {"0", "off"}, {"1", "custom"}, - {"2", "weak"}, + {"2", "light"}, {"3", "medium"}, {"4", "strong"}, + {"5", "ultralight"}, {NULL, NULL} }; @@ -2178,11 +2179,13 @@ export_value_xlat(GValue *dict) gval = export_value_xlat2(deint_xlat, lin_val, G_TYPE_INT); if (gval) ghb_dict_insert(dict, g_strdup(key), gval); - key = "PictureDenoise"; +#if 0 + key = "PictureDenoisePreset"; lin_val = ghb_dict_lookup(dict, key); gval = export_value_xlat2(denoise_xlat, lin_val, G_TYPE_INT); if (gval) ghb_dict_insert(dict, g_strdup(key), gval); +#endif gint count, ii; GValue *alist; @@ -2429,7 +2432,7 @@ import_value_xlat(GValue *dict) gval = import_value_xlat2(defaults, deint_xlat, key, mac_val); if (gval) ghb_dict_insert(dict, g_strdup(key), gval); - key = "PictureDenoise"; + key = "PictureDenoisePreset"; mac_val = ghb_dict_lookup(dict, key); gval = import_value_xlat2(defaults, denoise_xlat, key, mac_val); if (gval) |