OSDN Git Service

LinGui: remove another part of the x264 analyse/direct-pred (non)dependency
authorjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 26 Sep 2008 14:50:52 +0000 (14:50 +0000)
committerjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 26 Sep 2008 14:50:52 +0000 (14:50 +0000)
that I missed.

git-svn-id: svn://localhost/HandBrake/trunk@1770 b64f7644-9d1e-0410-96f1-a4d463321fa5

gtk/src/settings.c

index 6a0e9b8..d108814 100644 (file)
@@ -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)