OSDN Git Service

LinGui: fix cut/past capability in x264 options textview.
authorjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Mon, 1 Dec 2008 22:38:29 +0000 (22:38 +0000)
committerjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Mon, 1 Dec 2008 22:38:29 +0000 (22:38 +0000)
git-svn-id: svn://localhost/HandBrake/trunk@1985 b64f7644-9d1e-0410-96f1-a4d463321fa5

gtk/src/x264handler.c

index 154defb..3fbcf49 100644 (file)
@@ -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);