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
111d6a25
Commit
111d6a25
authored
Aug 24, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx/wizard: add missing error handling
(cherry picked from commit
6100eb88
)
parent
b9dc1b7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
modules/gui/macosx/wizard.m
modules/gui/macosx/wizard.m
+2
-4
No files found.
modules/gui/macosx/wizard.m
View file @
111d6a25
...
...
@@ -1239,11 +1239,9 @@ static VLCWizard *_o_sharedInstance = nil;
UTF8String
],
VLC_INPUT_OPTION_TRUSTED
);
/* FIXME: playlist_AddInput() can fail */
playlist_AddInput
(
p_playlist
,
p_input
,
PLAYLIST_STOP
,
PLAYLIST_END
,
true
,
pl_Unlocked
);
int
returnValue
=
playlist_AddInput
(
p_playlist
,
p_input
,
PLAYLIST_STOP
,
PLAYLIST_END
,
true
,
pl_Unlocked
);
if
(
x
==
0
)
if
(
x
==
0
&&
returnValue
!=
VLC_SUCCESS
)
{
/* play the first item and add the others afterwards */
PL_LOCK
;
...
...
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