]> granicus.if.org Git - handbrake/commitdiff
remove the 8 audio limit. isn't needed anymore.
authorjstebbins <jstebbins.hb@gmail.com>
Wed, 15 Sep 2010 16:48:31 +0000 (16:48 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Wed, 15 Sep 2010 16:48:31 +0000 (16:48 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3531 b64f7644-9d1e-0410-96f1-a4d463321fa5

gtk/src/audiohandler.c
libhb/sync.c

index 5206a318eda470af248bd6ca9d86b88446b8e928..4ecc509c3c907d7127b0c5cbe013cc125959a4c0 100644 (file)
@@ -641,7 +641,6 @@ audio_add_clicked_cb(GtkWidget *xwidget, signal_user_data_t *ud)
        
        g_debug("audio_add_clicked_cb ()");
        asettings = ghb_dict_value_new();
-       // Only allow up to 8 audio entries
        widget = GHB_WIDGET(ud->builder, "AudioTrack");
        ghb_settings_take_value(asettings, "AudioTrack", ghb_widget_value(widget));
        widget = GHB_WIDGET(ud->builder, "AudioEncoder");
index 9c36ee30a72eaf4df45d411e392825fd84909b5f..53b3193a3ebed8d3cbc52314ddc5a7108cc91519 100644 (file)
@@ -174,7 +174,7 @@ hb_work_object_t * hb_sync_init( hb_job_t * job )
     /* Initialize libsamplerate for every audio track we have */
     if ( ! job->indepth_scan )
     {
-        for( i = 0; i < hb_list_count( title->list_audio ) && i < 8; i++ )
+        for( i = 0; i < hb_list_count( title->list_audio ); i++ )
         {
             InitAudio( job, pv->common, i );
         }