]> granicus.if.org Git - handbrake/commitdiff
LinGui: fix stupid limit on number of subtitle and audio tracks.
authorjstebbins <jstebbins.hb@gmail.com>
Sun, 8 Feb 2009 05:26:25 +0000 (05:26 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Sun, 8 Feb 2009 05:26:25 +0000 (05:26 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2130 b64f7644-9d1e-0410-96f1-a4d463321fa5

gtk/src/hb-backend.c

index 6f215e8c1a69b045ff59f847fdbd1b03d15b96a6..227d9637346a774bf16351a56a9f8f36aae5d480 100644 (file)
@@ -1456,7 +1456,7 @@ audio_track_opts_set(GtkBuilder *builder, const gchar *name, gint titleindex)
                        count = hb_list_count( title->list_audio );
                }
        }
-       if (count > 10) count = 10;
+       if (count > 100) count = 100;
        if (audio_track_opts.map) g_free(audio_track_opts.map);
        if (count > 0)
        {
@@ -1527,7 +1527,7 @@ subtitle_opts_set(GtkBuilder *builder, const gchar *name, gint titleindex)
                        count = hb_list_count( title->list_subtitle );
                }
        }
-       if (count > 10) count = 10;
+       if (count > 100) count = 100;
        if (subtitle_opts.map) g_free(subtitle_opts.map);
        if (count > 0)
        {
@@ -1564,7 +1564,7 @@ subtitle_opts_set(GtkBuilder *builder, const gchar *name, gint titleindex)
        subtitle_opts.map[0].shortOpt = "auto";
        subtitle_opts.map[0].ivalue = -1;
        subtitle_opts.map[0].svalue = "auto";
-       if (count >0)
+       if (count > 0)
        {
                for (ii = 0; ii < count; ii++)
                {