[vlc-commits] macosx: fixed bluray MRL

Felix Paul Kühne git at videolan.org
Sun Feb 12 14:40:57 CET 2012


vlc/vlc-2.0 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Feb 11 20:52:23 2012 +0100| [6c518adc8ce3fe9fa5aff28fe96e8ac7e453214b] | committer: Jean-Baptiste Kempf

macosx: fixed bluray MRL
(cherry picked from commit df61155f0296dcf0fde91c49b18370b5eafec006)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 fb20f86..8a89cfb 100644
--- a/modules/gui/macosx/open.m
+++ b/modules/gui/macosx/open.m
@@ -844,7 +844,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