Commit 33b6abb6 authored by Gildas Bazin's avatar Gildas Bazin

* src/playlist/playlist.c: fixed recent playlist breakage.
parent 5a90c358
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* playlist.c : Playlist management functions * playlist.c : Playlist management functions
***************************************************************************** *****************************************************************************
* Copyright (C) 1999-2001 VideoLAN * Copyright (C) 1999-2001 VideoLAN
* $Id: playlist.c,v 1.41 2003/07/07 16:59:00 sam Exp $ * $Id: playlist.c,v 1.42 2003/07/17 22:54:40 gbazin Exp $
* *
* Authors: Samuel Hocevar <sam@zoy.org> * Authors: Samuel Hocevar <sam@zoy.org>
* *
...@@ -410,9 +410,12 @@ void playlist_Command( playlist_t * p_playlist, int i_command, int i_arg ) ...@@ -410,9 +410,12 @@ void playlist_Command( playlist_t * p_playlist, int i_command, int i_arg )
case PLAYLIST_PLAY: case PLAYLIST_PLAY:
p_playlist->i_status = PLAYLIST_RUNNING; p_playlist->i_status = PLAYLIST_RUNNING;
if( p_playlist->p_input ) if( !p_playlist->p_input )
{ {
PlayItem( p_playlist ); PlayItem( p_playlist );
}
if( p_playlist->p_input )
{
input_SetStatus( p_playlist->p_input, INPUT_STATUS_PLAY ); input_SetStatus( p_playlist->p_input, INPUT_STATUS_PLAY );
} }
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment