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
f2d3d72d
Commit
f2d3d72d
authored
Mar 09, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: fixed DVD playback using libdvdread (close #6027)
(cherry picked from commit
4106e42f
)
parent
f2724d62
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/gui/macosx/open.m
modules/gui/macosx/open.m
+2
-2
No files found.
modules/gui/macosx/open.m
View file @
f2d3d72d
...
...
@@ -810,7 +810,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
unsigned
int
index
=
[
n_index
intValue
];
id
o_currentOpticalDevice
=
[
o_opticalDevices
objectAtIndex
:
index
];
id
o_currentOpticalDevice
=
[
o_opticalDevices
objectAtIndex
:
index
];
char
*
diskType
=
[
self
getVolumeTypeFromMountPath
:
o_currentOpticalDevice
];
if
(
diskType
==
kVLCMediaDVD
||
diskType
==
kVLCMediaVideoTSFolder
)
...
...
@@ -939,7 +939,7 @@ id o_currentOpticalDevice = [o_opticalDevices objectAtIndex: index];
if
(
sender
==
o_disc_dvdwomenus_chapter_stp
)
[
o_disc_dvdwomenus_chapter
setIntValue
:
[
o_disc_dvdwomenus_chapter_stp
intValue
]];
[
self
setMRL
:
[
NSString
stringWithFormat
:
@"dvdread://%@
@
%i:%i-"
,
[
self
getBSDNodeFromMountPath
:[
o_opticalDevices
objectAtIndex
:
[
o_disc_selector_pop
indexOfSelectedItem
]]],
[
o_disc_dvdwomenus_title
intValue
],
[
o_disc_dvdwomenus_chapter
intValue
]]];
[
self
setMRL
:
[
NSString
stringWithFormat
:
@"dvdread://%@
#
%i:%i-"
,
[
self
getBSDNodeFromMountPath
:[
o_opticalDevices
objectAtIndex
:
[
o_disc_selector_pop
indexOfSelectedItem
]]],
[
o_disc_dvdwomenus_title
intValue
],
[
o_disc_dvdwomenus_chapter
intValue
]]];
}
-
(
IBAction
)
vcdOptionChanged
:(
id
)
sender
...
...
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