[vlc-commits] MacOS X: fix no menu dvd MRL in open dialog
Jean-Baptiste Kempf
git at videolan.org
Tue Feb 14 19:09:34 CET 2012
vlc/vlc-2.0 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Feb 14 18:53:49 2012 +0100| [760d145f95a82980d77415153f43679c8abf73eb] | committer: Jean-Baptiste Kempf
MacOS X: fix no menu dvd MRL in open dialog
Close #6027
(cherry picked from commit c0433c8bbe69b5a5aa5ea603a77068d29c1c0d4f)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=760d145f95a82980d77415153f43679c8abf73eb
---
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 c1ec641..069000e 100644
--- a/modules/gui/macosx/open.m
+++ b/modules/gui/macosx/open.m
@@ -822,7 +822,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
[self setMRL: [NSString stringWithFormat: @"dvdnav://%@", pathToOpen]];
[self showOpticalMediaView: o_disc_dvd_view withIcon: [[NSWorkspace sharedWorkspace] iconForFile: o_currentOpticalDevice]];
} else {
- [self setMRL: [NSString stringWithFormat: @"dvdread://%@@%i:%i-", pathToOpen, [o_disc_dvdwomenus_title intValue], [o_disc_dvdwomenus_chapter intValue]]];
+ [self setMRL: [NSString stringWithFormat: @"dvdread://%@#%i:%i-", pathToOpen, [o_disc_dvdwomenus_title intValue], [o_disc_dvdwomenus_chapter intValue]]];
[self showOpticalMediaView: o_disc_dvdwomenus_view withIcon: [[NSWorkspace sharedWorkspace] iconForFile: o_currentOpticalDevice]];
}
}
More information about the vlc-commits
mailing list