Skip to content

Commit

Permalink
nlmeans: fix the default values
Browse files Browse the repository at this point in the history
Make the nlmeans default (when no string supplied) match "medium"
preset.  And make the CLI default the medium preset.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7402 b64f7644-9d1e-0410-96f1-a4d463321fa5
jstebbins committed Aug 17, 2015
1 parent 50a9070 commit 4ffa869
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions libhb/nlmeans.c
Original file line number Diff line number Diff line change
@@ -55,8 +55,8 @@
#include "taskset.h"
#include "nlmeans.h"

#define NLMEANS_STRENGTH_LUMA_DEFAULT 8
#define NLMEANS_STRENGTH_CHROMA_DEFAULT 8
#define NLMEANS_STRENGTH_LUMA_DEFAULT 6
#define NLMEANS_STRENGTH_CHROMA_DEFAULT 6
#define NLMEANS_ORIGIN_TUNE_LUMA_DEFAULT 1
#define NLMEANS_ORIGIN_TUNE_CHROMA_DEFAULT 1
#define NLMEANS_PATCH_SIZE_LUMA_DEFAULT 7
2 changes: 1 addition & 1 deletion test/test.c
Original file line number Diff line number Diff line change
@@ -2204,7 +2204,7 @@ static int ParseOptions( int argc, char ** argv )
}
else
{
nlmeans = strdup("light");
nlmeans = strdup("medium");
}
break;
case FILTER_NLMEANS_TUNE:

0 comments on commit 4ffa869

Please sign in to comment.