vlc | branch: master | Felix Paul Kühne <[email protected]> | Fri Mar 9 17:58:26 2012 +0100| [4106e42f145faa3534788a58fec9d6eae59ae7e0] | committer: Felix Paul Kühne
macosx: fixed DVD playback using libdvdread (close #6027) > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4106e42f145faa3534788a58fec9d6eae59ae7e0 --- modules/gui/macosx/open.m | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/gui/macosx/open.m b/modules/gui/macosx/open.m index e9038c8..2ec4505 100644 --- a/modules/gui/macosx/open.m +++ b/modules/gui/macosx/open.m @@ -810,7 +810,7 @@ static VLCOpen *_o_sharedMainInstance = nil; unsigned int index = [n_index intValue]; -id o_currentOpticalDevice = [o_opticalDevices objectAtIndex: index]; + id o_currentOpticalDevice = [o_opticalDevices objectAtIndex: index]; char *diskType = [self getVolumeTypeFromMountPath:o_currentOpticalDevice]; if (diskType == kVLCMediaDVD || diskType == kVLCMediaVideoTSFolder) @@ -945,7 +945,7 @@ id o_currentOpticalDevice = [o_opticalDevices objectAtIndex: index]; if (sender == o_disc_dvdwomenus_chapter_stp) [o_disc_dvdwomenus_chapter setIntValue: [o_disc_dvdwomenus_chapter_stp intValue]]; - [self setMRL: [NSString stringWithFormat: @"dvdread://%@@%i:%i-", [self getBSDNodeFromMountPath:[o_opticalDevices objectAtIndex: [o_disc_selector_pop indexOfSelectedItem]]], [o_disc_dvdwomenus_title intValue], [o_disc_dvdwomenus_chapter intValue]]]; + [self setMRL: [NSString stringWithFormat: @"dvdread://%@#%i:%i-", [self getBSDNodeFromMountPath:[o_opticalDevices objectAtIndex: [o_disc_selector_pop indexOfSelectedItem]]], [o_disc_dvdwomenus_title intValue], [o_disc_dvdwomenus_chapter intValue]]]; } - (IBAction)vcdOptionChanged:(id)sender _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
