diff options
author | jstebbins <[email protected]> | 2009-11-05 22:02:58 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-11-05 22:02:58 +0000 |
commit | 972320287e9c2f6ce404b2bddc28151595d94eff (patch) | |
tree | 6d0f09febd63eddceebbad92540a4c174a176e08 | |
parent | afb538d6dd33bf9ba93dffc908b2e308cf4e7496 (diff) |
LinGui: allow any number of values in custom filter string
checking for the correct number always ends up getting out of sync with
the filter code.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2916 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | gtk/src/hb-backend.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c index b2a19eb13..5d43d469e 100644 --- a/gtk/src/hb-backend.c +++ b/gtk/src/hb-backend.c @@ -3547,7 +3547,7 @@ ghb_validate_filters(signal_user_data_t *ud) if (!decomb_deint && index == 1) { str = ghb_settings_get_string(ud->settings, "PictureDeinterlaceCustom"); - if (!ghb_validate_filter_string(str, 4)) + if (!ghb_validate_filter_string(str, -1)) { message = g_strdup_printf( "Invalid Deinterlace Settings:\n\n%s\n", @@ -3564,7 +3564,7 @@ ghb_validate_filters(signal_user_data_t *ud) if (index == 1) { str = ghb_settings_get_string(ud->settings, "PictureDetelecineCustom"); - if (!ghb_validate_filter_string(str, 6)) + if (!ghb_validate_filter_string(str, -1)) { message = g_strdup_printf( "Invalid Detelecine Settings:\n\n%s\n", @@ -3581,7 +3581,7 @@ ghb_validate_filters(signal_user_data_t *ud) if (decomb_deint && index == 1) { str = ghb_settings_get_string(ud->settings, "PictureDecombCustom"); - if (!ghb_validate_filter_string(str, 15)) + if (!ghb_validate_filter_string(str, -1)) { message = g_strdup_printf( "Invalid Decomb Settings:\n\n%s\n", @@ -3598,7 +3598,7 @@ ghb_validate_filters(signal_user_data_t *ud) if (index == 1) { str = ghb_settings_get_string(ud->settings, "PictureDenoiseCustom"); - if (!ghb_validate_filter_string(str, 4)) + if (!ghb_validate_filter_string(str, -1)) { message = g_strdup_printf( "Invalid Denoise Settings:\n\n%s\n", |