Commit 2b69fa1f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

playlist: remove unnecessary shortcuts

Controls can be processed if the playlist is empty. They just do
nothing. Conversely, stop need not be processed if the playlist was
already killed.
parent df6c654e
......@@ -53,8 +53,7 @@ static void playlist_vaControl( playlist_t *p_playlist, int i_query, va_list arg
if( i_query != PLAYLIST_STOP )
if( pl_priv(p_playlist)->killed || playlist_IsEmpty( p_playlist ) )
if( pl_priv(p_playlist)->killed )
switch( i_query )
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