summaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2012-12-30 23:15:09 +0000
committerjstebbins <[email protected]>2012-12-30 23:15:09 +0000
commit7d4bcfe35af1749c69be9e9cc1b042b886dc8b52 (patch)
tree7e557c9d9ff4533844bdc2899211b0fb0a29eb4e /gtk
parentf9939d01e0b25e44e49c6cbc4893e8a820234e98 (diff)
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
Diffstat (limited to 'gtk')
-rw-r--r--gtk/src/hb-backend.c8
1 files changed, 8 insertions, 0 deletions
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],