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

macosx: fixed bluray MRL

parent 8d8b1194
...@@ -850,7 +850,7 @@ static VLCOpen *_o_sharedMainInstance = nil; ...@@ -850,7 +850,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
[o_disc_bd_lbl setStringValue: [[NSFileManager defaultManager] displayNameAtPath: o_currentOpticalDevice]]; [o_disc_bd_lbl setStringValue: [[NSFileManager defaultManager] displayNameAtPath: o_currentOpticalDevice]];
[self showOpticalMediaView: o_disc_bd_view withIcon: [[NSWorkspace sharedWorkspace] iconForFile: o_currentOpticalDevice]]; [self showOpticalMediaView: o_disc_bd_view withIcon: [[NSWorkspace sharedWorkspace] iconForFile: o_currentOpticalDevice]];
if (diskType == kVLCMediaBD) if (diskType == kVLCMediaBD)
[self setMRL: [NSString stringWithFormat: @"bluray://%@", [self getBSDNodeFromMountPath: o_currentOpticalDevice]]]; [self setMRL: [NSString stringWithFormat: @"bluray://%@", o_currentOpticalDevice]];
else else
[self setMRL: [NSString stringWithFormat: @"bluray://%@", o_currentOpticalDevice]]; [self setMRL: [NSString stringWithFormat: @"bluray://%@", o_currentOpticalDevice]];
} }
......
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