summaryrefslogtreecommitdiffstats
path: root/libhb/param.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2015-04-21 15:49:34 +0000
committerjstebbins <[email protected]>2015-04-21 15:49:34 +0000
commit992a1ab264904b96ab5b396e5fd505a272589196 (patch)
treeae3e88291a81a7ce78af274c7efa7faba117d50c /libhb/param.c
parentfae5fb8d9927d3814af84baa7bd3796a03211698 (diff)
param: Allow ',' as decimal separator in filter values
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7110 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/param.c')
-rw-r--r--libhb/param.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/param.c b/libhb/param.c
index 98b7fbc23..9263351d2 100644
--- a/libhb/param.c
+++ b/libhb/param.c
@@ -312,7 +312,7 @@ int hb_validate_filter_settings(int filter_id, const char *filter_param)
return 0;
// Regex matches "number" followed by one or more ":number", where number is uint or ufloat
- const char *hb_colon_separated_params_regex = "^((([0-9]+([.][0-9]+)?)|([.][0-9]+))((:(([0-9]+([.][0-9]+)?)|([.][0-9]+)))+)?)$";
+ const char *hb_colon_separated_params_regex = "^((([0-9]+([.,][0-9]+)?)|([.,][0-9]+))((:(([0-9]+([,.][0-9]+)?)|([,.][0-9]+)))+)?)$";
const char *regex_pattern = NULL;