[vlc-devel] commit: playlist: use get_current_status_node() (Derk-Jan Hartman )

git version control git at videolan.org
Sun Aug 24 13:47:01 CEST 2008


vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Sun Aug 24 13:49:51 2008 +0200| [2098113d3fc5819145c906e857e053e2bdfc3942] | committer: Derk-Jan Hartman 

playlist: use get_current_status_node()

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

 src/playlist/control.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/playlist/control.c b/src/playlist/control.c
index e48bd1e..3e2abc4 100644
--- a/src/playlist/control.c
+++ b/src/playlist/control.c
@@ -109,7 +109,7 @@ static int PlaylistVAControl( playlist_t * p_playlist, int i_query, va_list args
         p_item = (playlist_item_t *)va_arg( args, playlist_item_t * );
         if ( p_node == NULL )
         {
-            p_node = p_playlist->status.p_node;
+            p_node = get_current_status_node( p_playlist );
             assert( p_node );
         }
         p_playlist->request.i_status = PLAYLIST_RUNNING;




More information about the vlc-devel mailing list