]> granicus.if.org Git - handbrake/commitdiff
CLI: fix nlmeans preset and tune
authorjstebbins <jstebbins.hb@gmail.com>
Mon, 10 Aug 2015 22:53:15 +0000 (22:53 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Mon, 10 Aug 2015 22:53:15 +0000 (22:53 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7398 b64f7644-9d1e-0410-96f1-a4d463321fa5

test/test.c

index 123289c2933116d4189a5983cbe83063b7750006..513add980672eb5636bac78adb85259f32d9be5b 100644 (file)
@@ -2627,7 +2627,7 @@ static int ParseOptions( int argc, char ** argv )
         }
         else
         {
-            fprintf(stderr, "Invalid hqdn3d option %s\n", nlmeans);
+            fprintf(stderr, "Invalid nlmeans option %s\n", nlmeans);
             return -1;
         }
     }
@@ -3493,7 +3493,7 @@ static hb_dict_t * PreparePreset(const char *preset_name)
                         hb_value_string(nlmeans));
             if (nlmeans_tune != NULL)
             {
-                hb_dict_set(preset, "PictureDenoisePreset",
+                hb_dict_set(preset, "PictureDenoiseTune",
                             hb_value_string(nlmeans_tune));
             }
         }