summaryrefslogtreecommitdiffstats
path: root/gtk/src/hb-backend.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2012-12-31 17:19:49 +0000
committerjstebbins <[email protected]>2012-12-31 17:19:49 +0000
commit5ec51be789cc39bcfb0abfcaa19d2ce1720e69b8 (patch)
tree6265976da215d7ff081c9eddda627faeafa168c6 /gtk/src/hb-backend.c
parent01d1b85d7adecdc588d5450ee43c52809c0b1c3f (diff)
LinGui: filter out high444 from h264 profiles
and force profile to auto when RF < 1.0 and fix a problem with video quality slider digits display when changing granularity in preferences. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5125 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/hb-backend.c')
-rw-r--r--gtk/src/hb-backend.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c
index e1e4187d3..38ccb00c9 100644
--- a/gtk/src/hb-backend.c
+++ b/gtk/src/hb-backend.c
@@ -2109,7 +2109,8 @@ x264_profile_opts_set(GtkBuilder *builder, const gchar *name)
// HandBrake doesn't support high10 (10 bit encoding)
// or high422 (YUV422)
if (!strcasecmp("high10", profiles[ii]) ||
- !strcasecmp("high422", profiles[ii]))
+ !strcasecmp("high422", profiles[ii]) ||
+ !strcasecmp("high444", profiles[ii]))
{
continue;
}
@@ -4648,6 +4649,7 @@ ghb_validate_vquality(GValue *settings)
return FALSE;
}
g_free(message);
+ ghb_settings_set_string(settings, "h264Profile", "auto");
}
else if (vquality < min || vquality > max)
{