summaryrefslogtreecommitdiffstats
path: root/gtk/src/settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src/settings.c')
-rw-r--r--gtk/src/settings.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gtk/src/settings.c b/gtk/src/settings.c
index 6a0e9b813..d108814d5 100644
--- a/gtk/src/settings.c
+++ b/gtk/src/settings.c
@@ -1088,6 +1088,7 @@ ghb_sanitize_x264opts(signal_user_data_t *ud, const gchar *options)
x264_remove_opt(split, x264_weightb_syns);
x264_remove_opt(split, x264_brdo_syns);
x264_remove_opt(split, x264_bime_syns);
+ x264_remove_opt(split, x264_direct_syns);
}
if (bframes <= 1)
{
@@ -1103,13 +1104,6 @@ ghb_sanitize_x264opts(signal_user_data_t *ud, const gchar *options)
{
x264_remove_opt(split, x264_trellis_syns);
}
- gint analyse;
- analyse = ghb_lookup_combo_int("x264_analyse",
- ghb_settings_get_value(ud->settings, "x264_analyse"));
- if (analyse == 1)
- {
- x264_remove_opt(split, x264_direct_syns);
- }
for (ii = 0; split[ii] != NULL; ii++)
{
if (split[ii][0] != 0)