Commit b44518a8 authored by Clément Stenac's avatar Clément Stenac

Don't preparse if we are about to play - Refs:#192

parent 3083fe22
......@@ -1200,13 +1200,20 @@ void OpenDialog::OnOk( wxCommandEvent& WXUNUSED(event) )
}
}
playlist_AddItem( p_playlist, p_item, PLAYLIST_APPEND|PLAYLIST_PREPARSE,
PLAYLIST_END );
if( b_start )
{
playlist_AddItem( p_playlist, p_item,
PLAYLIST_APPEND,
PLAYLIST_END );
playlist_Control( p_playlist, PLAYLIST_ITEMPLAY, p_item );
}
else
{
playlist_AddItem( p_playlist, p_item,
PLAYLIST_APPEND|PLAYLIST_PREPARSE,
PLAYLIST_END );
}
}
vlc_object_release( p_playlist );
......
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