[vlc-commits] playlist: update status on PLAYLIST_PLAY

Rafaël Carré git at videolan.org
Fri Jan 25 05:00:29 CET 2013


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Fri Jan 25 05:00:07 2013 +0100| [959c51856e801ff630c073b8b096e8c4a0ffc242] | committer: Rafaël Carré

playlist: update status on PLAYLIST_PLAY

Fixes #8082

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=959c51856e801ff630c073b8b096e8c4a0ffc242
---

 src/playlist/control.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/playlist/control.c b/src/playlist/control.c
index 6096a85..5df9283 100644
--- a/src/playlist/control.c
+++ b/src/playlist/control.c
@@ -108,6 +108,7 @@ static int PlaylistVAControl( playlist_t * p_playlist, int i_query, va_list args
     case PLAYLIST_PLAY:
         if( pl_priv(p_playlist)->p_input )
         {
+            pl_priv(p_playlist)->status.i_status = PLAYLIST_RUNNING;
             var_SetInteger( pl_priv(p_playlist)->p_input, "state", PLAYING_S );
             break;
         }



More information about the vlc-commits mailing list