Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
735bea83
Commit
735bea83
authored
May 14, 2002
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not eject when we're reading from the disc...
parent
869d2111
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
plugins/macosx/intf_vlc_wrapper.m
plugins/macosx/intf_vlc_wrapper.m
+10
-1
No files found.
plugins/macosx/intf_vlc_wrapper.m
View file @
735bea83
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* intf_vlc_wrapper.c: MacOS X plugin for vlc
* intf_vlc_wrapper.c: MacOS X plugin for vlc
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* Copyright (C) 2001 VideoLAN
* $Id: intf_vlc_wrapper.m,v 1.
1 2002/05/12 20:56:3
4 massiot Exp $
* $Id: intf_vlc_wrapper.m,v 1.
2 2002/05/14 20:13:0
4 massiot Exp $
*
*
* Authors: Florian G. Pflug <fgp@phlo.org>
* Authors: Florian G. Pflug <fgp@phlo.org>
* Jon Lech Johansen <jon-vl@nanocrew.net>
* Jon Lech Johansen <jon-vl@nanocrew.net>
...
@@ -256,6 +256,15 @@ static Intf_VLCWrapper *o_intf = nil;
...
@@ -256,6 +256,15 @@ static Intf_VLCWrapper *o_intf = nil;
NSArray
*
o_devices
=
GetEjectableMediaOfClass
(
kIODVDMediaClass
);
NSArray
*
o_devices
=
GetEjectableMediaOfClass
(
kIODVDMediaClass
);
const
char
*
psz_device
;
const
char
*
psz_device
;
if
(
p_input_bank
->
pp_input
[
0
]
!=
NULL
&&
(
p_input_bank
->
pp_input
[
0
]
->
stream
.
i_method
==
INPUT_METHOD_VCD
||
p_input_bank
->
pp_input
[
0
]
->
stream
.
i_method
==
INPUT_METHOD_DVD
||
p_input_bank
->
pp_input
[
0
]
->
stream
.
i_method
==
INPUT_METHOD_DISC
)
)
{
intf_ErrMsg
(
"error: cannot eject the disc while you're reading from it"
);
return
;
}
if
(
o_devices
==
nil
)
if
(
o_devices
==
nil
)
{
{
o_devices
=
GetEjectableMediaOfClass
(
kIOCDMediaClass
);
o_devices
=
GetEjectableMediaOfClass
(
kIOCDMediaClass
);
...
...
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