Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
6fb10a6f
Commit
6fb10a6f
authored
Dec 29, 2011
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: switch to the # syntax for VCDs
parent
7c2fd92a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
modules/gui/macosx/open.m
modules/gui/macosx/open.m
+7
-1
No files found.
modules/gui/macosx/open.m
View file @
6fb10a6f
...
...
@@ -824,7 +824,13 @@ static VLCOpen *_o_sharedMainInstance = nil;
[
self
showOpticalMediaView
:
o_disc_audiocd_view
withIcon
:
[[
NSWorkspace
sharedWorkspace
]
iconForFile
:
[
o_opticalDevices
objectAtIndex
:
index
]]];
[
self
setMRL
:
[
NSString
stringWithFormat
:
@"cdda://%@"
,
[
self
getBSDNodeFromMountPath
:[
o_opticalDevices
objectAtIndex
:
index
]]]];
}
else
if
(
diskType
==
kVLCMediaVCD
||
diskType
==
kVLCMediaSVCD
)
else
if
(
diskType
==
kVLCMediaVCD
)
{
[
o_disc_vcd_lbl
setStringValue
:
[[
NSFileManager
defaultManager
]
displayNameAtPath
:[
o_opticalDevices
objectAtIndex
:
index
]]];
[
self
showOpticalMediaView
:
o_disc_vcd_view
withIcon
:
[[
NSWorkspace
sharedWorkspace
]
iconForFile
:
[
o_opticalDevices
objectAtIndex
:
index
]]];
[
self
setMRL
:
[
NSString
stringWithFormat
:
@"vcd://%@#%i:%i"
,
[
self
getBSDNodeFromMountPath
:[
o_opticalDevices
objectAtIndex
:
index
]],
[
o_disc_vcd_title
intValue
],
[
o_disc_vcd_chapter
intValue
]]];
}
else
if
(
diskType
==
kVLCMediaSVCD
)
{
[
o_disc_vcd_lbl
setStringValue
:
[[
NSFileManager
defaultManager
]
displayNameAtPath
:[
o_opticalDevices
objectAtIndex
:
index
]]];
[
self
showOpticalMediaView
:
o_disc_vcd_view
withIcon
:
[[
NSWorkspace
sharedWorkspace
]
iconForFile
:
[
o_opticalDevices
objectAtIndex
:
index
]]];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment