Commit 25e85b0b authored by gbazin's avatar gbazin

src/playlist/playlist.c, modules/gui/skins2/src/skin_main.cpp: hmmm

parent f9b51f55
......@@ -272,7 +272,7 @@ static int DemuxOpen( vlc_object_t *p_this )
if( p_intf != NULL )
{
// Do nothing is skins2 is not the main interface
if( var_Type( p_intf, "skin-to-load" ) != VLC_VAR_STRING )
if( var_Type( p_intf, "skin-to-load" ) == VLC_VAR_STRING )
{
playlist_t *p_playlist =
(playlist_t *) vlc_object_find( p_this, VLC_OBJECT_PLAYLIST,
......
......@@ -360,6 +360,7 @@ static void RunThread ( playlist_t *p_playlist )
if( p_playlist->pp_items[p_playlist->i_index]->b_autodeletion )
{
playlist_Delete( p_playlist, p_playlist->i_index );
p_playlist->i_status = PLAYLIST_RUNNING;
}
/* Select the next playlist item */
......
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