summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gtk/src/x264handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/src/x264handler.c b/gtk/src/x264handler.c
index 154defbbb..3fbcf49c9 100644
--- a/gtk/src/x264handler.c
+++ b/gtk/src/x264handler.c
@@ -77,7 +77,7 @@ x264_focus_out_cb(GtkWidget *widget, GdkEventFocus *event,
options = ghb_settings_get_string(ud->settings, "x264Option");
sopts = sanitize_x264opts(ud, options);
ignore_options_update = TRUE;
- if (sopts != NULL)
+ if (sopts != NULL && strcmp(sopts, options) != 0)
{
ghb_ui_update(ud, "x264Option", ghb_string_value(sopts));
ghb_x264_parse_options(ud, sopts);