]> granicus.if.org Git - handbrake/commitdiff
LinGui: filter out x264 profiles high10 and high422
authorjstebbins <jstebbins.hb@gmail.com>
Sun, 30 Dec 2012 23:15:09 +0000 (23:15 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Sun, 30 Dec 2012 23:15:09 +0000 (23:15 +0000)
10 bit encoding and yuv422 are not supported.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5118 b64f7644-9d1e-0410-96f1-a4d463321fa5

gtk/src/hb-backend.c

index cefe59098fd5b0b66ad5c3fb0c8d607ce38d883a..e1e4187d3f324efea5b10fd36fd592ffebcd7011 100644 (file)
@@ -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],