diff options
author | jstebbins <[email protected]> | 2009-02-08 05:26:25 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-02-08 05:26:25 +0000 |
commit | 99af9b087bca3ced65c6d6e4c5786553a49ce1d7 (patch) | |
tree | 21ea0dc8c5ab251288de9ee21131127b8d89d1e7 | |
parent | e484e36b1b8504ee0e49bde340ab7c76512a768a (diff) |
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
-rw-r--r-- | gtk/src/hb-backend.c | 6 |
1 files changed, 3 insertions, 3 deletions
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++) { |