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
36180ab1
Commit
36180ab1
authored
May 19, 2002
by
Jon Lech Johansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./plugins/macosx/intf_vlc_wrapper.m: don't try to eject unless there is
a disc to eject.
parent
dc0450f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
plugins/macosx/intf_vlc_wrapper.m
plugins/macosx/intf_vlc_wrapper.m
+6
-3
No files found.
plugins/macosx/intf_vlc_wrapper.m
View file @
36180ab1
...
...
@@ -2,7 +2,7 @@
* intf_vlc_wrapper.c: MacOS X plugin for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: intf_vlc_wrapper.m,v 1.
4 2002/05/19 17:27:39 massiot
Exp $
* $Id: intf_vlc_wrapper.m,v 1.
5 2002/05/19 19:16:40 jlj
Exp $
*
* Authors: Florian G. Pflug <fgp@phlo.org>
* Jon Lech Johansen <jon-vl@nanocrew.net>
...
...
@@ -286,8 +286,11 @@ static Intf_VLCWrapper *o_intf = nil;
o_devices
=
GetEjectableMediaOfClass
(
kIOCDMediaClass
);
}
psz_device
=
[[
o_devices
objectAtIndex
:
0
]
cString
];
intf_Eject
(
psz_device
);
if
(
o_devices
!=
nil
&&
[
o_devices
count
]
)
{
psz_device
=
[[
o_devices
objectAtIndex
:
0
]
cString
];
intf_Eject
(
psz_device
);
}
}
/* playback info */
...
...
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