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
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
...
@@ -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
* Additionnal playlist item options can be specified for addition to the
* item before it is played.
* 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,
...
@@ -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
);
VLC_UNUSED
(
i_id
);
VLC_UNUSED
(
i_options
);
VLC_UNUSED
(
ppsz_options
);
assert
(
pl
);
assert
(
pl
);
if
(
pl
->
items
.
i_size
==
0
)
RAISEVOID
(
"Empty playlist"
);
if
(
pl
->
items
.
i_size
==
0
)
return
;
playlist_Control
(
pl
,
PLAYLIST_PLAY
,
false
);
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