vlc/vlc-2.0 | branch: master | Felix Paul Kühne <[email protected]> | Fri 
Mar  9 17:58:26 2012 +0100| [f2d3d72d35f36f545e8428fe0cc08c50a9d1e79b] | 
committer: Felix Paul Kühne

macosx: fixed DVD playback using libdvdread (close #6027)
(cherry picked from commit 4106e42f145faa3534788a58fec9d6eae59ae7e0)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=f2d3d72d35f36f545e8428fe0cc08c50a9d1e79b
---

 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 06f99a1..2381a2d 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)
@@ -939,7 +939,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

Reply via email to