diff options
Diffstat (limited to 'gtk/src')
-rw-r--r-- | gtk/src/x264handler.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/gtk/src/x264handler.c b/gtk/src/x264handler.c index a46641203..2118349e5 100644 --- a/gtk/src/x264handler.c +++ b/gtk/src/x264handler.c @@ -893,14 +893,7 @@ sanitize_x264opts(signal_user_data_t *ud, const gchar *options) val = "1"; } const gchar *def_val; - if (find_syn_match(opt, x264_mbtree_syns) >= 0 && bframes == 0) - { - def_val = "0"; - } - else - { - def_val = x264_opt_get_default(opt); - } + def_val = x264_opt_get_default(opt); if (strcmp(val, def_val) == 0) { // Matches the default, so remove it |