diff options
author | dynaflash <[email protected]> | 2008-04-02 04:42:08 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2008-04-02 04:42:08 +0000 |
commit | 998ee41861d1879948110010769532bf2744737f (patch) | |
tree | dfd02c6ab1bf407a2e7b2da20bd7ad8345a4dc47 /macosx/Controller.mm | |
parent | e89137df81851044fad14a0aa4cb69a419cfdb9d (diff) |
MacGui: Fix audio issue where both tracks would use the first source audio track regardless of what source track was chosen. Bug introduced in rev 1367
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1368 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.mm')
-rw-r--r-- | macosx/Controller.mm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm index 56ad64242..d8cf580db 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -1608,7 +1608,7 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It //audio = (hb_audio_config_t *) hb_list_audio_config_item( title->list_audio, [fAudLang1PopUp indexOfSelectedItem] - 1); audio = (hb_audio_config_t *) calloc(1, sizeof(*audio)); hb_audio_config_init(audio); - + audio->in.track = [fAudLang1PopUp indexOfSelectedItem] - 1; /* We go ahead and assign values to our audio->out.<properties> */ audio->out.track = [fAudLang1PopUp indexOfSelectedItem] - 1; if ([[fAudTrack1MixPopUp titleOfSelectedItem] isEqualToString: @"AC3 Passthru"]) @@ -1639,7 +1639,7 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It //audio = (hb_audio_config_t *) hb_list_audio_config_item( title->list_audio, [fAudLang1PopUp indexOfSelectedItem] - 1 ); audio = (hb_audio_config_t *) calloc(1, sizeof(*audio)); hb_audio_config_init(audio); - + audio->in.track = [fAudLang1PopUp indexOfSelectedItem] - 1; /* We go ahead and assign values to our audio->out.<properties> */ audio->out.track = [fAudLang1PopUp indexOfSelectedItem] - 1; audio->out.codec = HB_ACODEC_AC3; @@ -1662,7 +1662,7 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It /* Now we modify it according to the gui settings for the specified track number */ audio = (hb_audio_config_t *) calloc(1, sizeof(*audio)); hb_audio_config_init(audio); - + audio->in.track = [fAudLang2PopUp indexOfSelectedItem] - 1; /* We go ahead and assign values to our audio->out.<properties> */ audio->out.track = [fAudLang2PopUp indexOfSelectedItem] - 1; if ([[fAudTrack2MixPopUp titleOfSelectedItem] isEqualToString: @"AC3 Passthru"]) @@ -1691,7 +1691,7 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It //audio = (hb_audio_config_t *) hb_list_audio_config_item( title->list_audio, [fAudLang2PopUp indexOfSelectedItem] - 1 ); audio = (hb_audio_config_t *) calloc(1, sizeof(*audio)); hb_audio_config_init(audio); - + audio->in.track = [fAudLang2PopUp indexOfSelectedItem] - 1; /* We go ahead and assign values to our audio->out.<properties> */ audio->out.track = [fAudLang2PopUp indexOfSelectedItem] - 1; audio->out.codec = HB_ACODEC_AC3; |