Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Gautam Chitnis
web-ui-redesign
Commits
564122b4
Commit
564122b4
authored
Aug 09, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvlc_playlist_play: remove exception
parent
ae47c1c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
include/vlc/deprecated.h
include/vlc/deprecated.h
+1
-1
src/control/playlist.c
src/control/playlist.c
+2
-1
No files found.
include/vlc/deprecated.h
View file @
564122b4
...
...
@@ -82,7 +82,7 @@ VLC_DEPRECATED_API libvlc_drawable_t
*/
/**
* Start playing.
* Start playing
(if there is any item in the playlist)
.
*
* Additionnal playlist item options can be specified for addition to the
* item before it is played.
...
...
src/control/playlist.c
View file @
564122b4
...
...
@@ -42,6 +42,7 @@ void libvlc_playlist_play( libvlc_instance_t *p_instance, int i_id,
VLC_UNUSED
(
i_id
);
VLC_UNUSED
(
i_options
);
VLC_UNUSED
(
ppsz_options
);
assert
(
pl
);
if
(
pl
->
items
.
i_size
==
0
)
RAISEVOID
(
"Empty playlist"
);
if
(
pl
->
items
.
i_size
==
0
)
return
;
playlist_Control
(
pl
,
PLAYLIST_PLAY
,
false
);
}
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