[vlc-commits] macosx: fixed bluray MRL

Felix Paul Kühne git at videolan.org
Sat Feb 11 20:52:39 CET 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Feb 11 20:52:23 2012 +0100| [df61155f0296dcf0fde91c49b18370b5eafec006] | committer: Felix Paul Kühne

macosx: fixed bluray MRL

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

 modules/gui/macosx/open.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/macosx/open.m b/modules/gui/macosx/open.m
index 8dd55ca..b593ce0 100644
--- a/modules/gui/macosx/open.m
+++ b/modules/gui/macosx/open.m
@@ -850,7 +850,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
         [o_disc_bd_lbl setStringValue: [[NSFileManager defaultManager] displayNameAtPath: o_currentOpticalDevice]];
         [self showOpticalMediaView: o_disc_bd_view withIcon: [[NSWorkspace sharedWorkspace] iconForFile: o_currentOpticalDevice]];
         if (diskType == kVLCMediaBD)
-            [self setMRL: [NSString stringWithFormat: @"bluray://%@", [self getBSDNodeFromMountPath: o_currentOpticalDevice]]];
+            [self setMRL: [NSString stringWithFormat: @"bluray://%@", o_currentOpticalDevice]];
         else
             [self setMRL: [NSString stringWithFormat: @"bluray://%@", o_currentOpticalDevice]];
     }



More information about the vlc-commits mailing list