]> git.sesse.net Git - vlc/commit
playlist: add (proper) playlist_Pause() and playlist_Resume()
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 15 Dec 2014 17:07:24 +0000 (19:07 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 15 Dec 2014 17:14:29 +0000 (19:14 +0200)
commit612bcfc8841f716673c5009ebe14e7463fdc4464
treebbd0985903e929e45404625d040c5042f66d8607
parent3decf12342f9ac36f2637810f26aaae5196f0d8b
playlist: add (proper) playlist_Pause() and playlist_Resume()

Those two functions have no effects if the playlist is stopped.
Otherwise they force the playlist to playing ("running") or paused
state respectively.

As a reminder, the existing playlist_Play() forces the playlist into
running state (unless it is empty), and playlist_Stop() forces the
playlist into stopped state (unless the input thread refuses to die).
There are no functions to force the playlist to paused state.
include/vlc_playlist.h
src/playlist/control.c