From: jstebbins Date: Sun, 30 Dec 2012 23:15:09 +0000 (+0000) Subject: LinGui: filter out x264 profiles high10 and high422 X-Git-Tag: 0.9.9~237 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d4bcfe35af1749c69be9e9cc1b042b886dc8b52;p=handbrake LinGui: filter out x264 profiles high10 and high422 10 bit encoding and yuv422 are not supported. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5118 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c index cefe59098..e1e4187d3 100644 --- a/gtk/src/hb-backend.c +++ b/gtk/src/hb-backend.c @@ -2106,6 +2106,14 @@ x264_profile_opts_set(GtkBuilder *builder, const gchar *name) for (ii = 0; ii < count; ii++) { + // HandBrake doesn't support high10 (10 bit encoding) + // or high422 (YUV422) + if (!strcasecmp("high10", profiles[ii]) || + !strcasecmp("high422", profiles[ii])) + { + continue; + } + gtk_list_store_append(store, &iter); gtk_list_store_set(store, &iter, 0, profiles[ii],