From 99af9b087bca3ced65c6d6e4c5786553a49ce1d7 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Sun, 8 Feb 2009 05:26:25 +0000 Subject: LinGui: fix stupid limit on number of subtitle and audio tracks. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2130 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- gtk/src/hb-backend.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gtk/src') diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c index 6f215e8c1..227d96373 100644 --- a/gtk/src/hb-backend.c +++ b/gtk/src/hb-backend.c @@ -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++) { -- cgit v1.2.3