Commit 25239c06 authored by Clément Stenac's avatar Clément Stenac

fix for new playlist API

parent 19afed7b
......@@ -234,6 +234,7 @@ static void Run( intf_thread_t *p_intf )
FIND_ANYWHERE );
if( p_playlist )
{
p_playlist->status.i_view = -1;
playlist_Play( p_playlist );
vlc_object_release( p_playlist );
}
......
......@@ -208,7 +208,7 @@ void VlcProc::manage()
pTime->set( pos.f_float, false );
// Get the status of the playlist
playlist_status_t status = getIntf()->p_sys->p_playlist->i_status;
playlist_status_t status = getIntf()->p_sys->p_playlist->status.i_status;
pVarPlaying->set( status == PLAYLIST_RUNNING );
pVarStopped->set( status == PLAYLIST_STOPPED );
......
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