vlc/vlc-1.1 | branch: master | Felix Paul Kühne <[email protected]> | Mon Apr 4 14:27:22 2011 +0200| [d3392936e5f886a870ac64d3329ce39480aa20c5] | committer: Felix Paul Kühne
macosx: fixed another wizard bug, which could lead to incorrect codec selection > http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=d3392936e5f886a870ac64d3329ce39480aa20c5 --- modules/gui/macosx/wizard.m | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/gui/macosx/wizard.m b/modules/gui/macosx/wizard.m index 7448761..1b8c980 100644 --- a/modules/gui/macosx/wizard.m +++ b/modules/gui/macosx/wizard.m @@ -686,7 +686,7 @@ static VLCWizard *_o_sharedInstance = nil; if ([o_t4_ckb_video state] == NSOnState) { NSNumber * theNum; - theNum = [NSNumber numberWithInt:[o_t4_pop_videoCodec indexOfSelectedItem]]; + theNum = [NSNumber numberWithInt:[[o_t4_pop_videoCodec selectedItem]tag]]; [o_userSelections setObject:@"YES" forKey:@"trnscdVideo"]; [o_userSelections setObject:[o_t4_pop_videoBitrate titleOfSelectedItem] forKey:@"trnscdVideoBitrate"]; @@ -700,7 +700,7 @@ static VLCWizard *_o_sharedInstance = nil; if ([o_t4_ckb_audio state] == NSOnState) { NSNumber * theNum; - theNum = [NSNumber numberWithInt:[o_t4_pop_audioCodec indexOfSelectedItem]]; + theNum = [NSNumber numberWithInt:[[o_t4_pop_audioCodec selectedItem]tag]]; [o_userSelections setObject:@"YES" forKey:@"trnscdAudio"]; [o_userSelections setObject:[o_t4_pop_audioBitrate titleOfSelectedItem] forKey:@"trnscdAudioBitrate"]; _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
