Commit d3392936 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fixed another wizard bug, which could lead to incorrect codec selection

parent 5660bb81
......@@ -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"];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment