X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fplaylist%2Fcontrol.c;fp=src%2Fplaylist%2Fcontrol.c;h=c2f8171f0f073ec1d9404d6d9b9c196652db91fa;hb=98dede2c4cb2a8283290147606c257f9d37145f5;hp=38ddf485646668a97440732351a857bd6b2a64f0;hpb=c8abb446b484d6be1895fce49d3d242142ae344b;p=vlc diff --git a/src/playlist/control.c b/src/playlist/control.c index 38ddf48564..c2f8171f0f 100644 --- a/src/playlist/control.c +++ b/src/playlist/control.c @@ -158,9 +158,10 @@ static int PlaylistVAControl( playlist_t * p_playlist, int i_query, va_list args case PLAYLIST_PAUSE: if( !pl_priv(p_playlist)->p_input ) - { /* FIXME: is this really useful without input? */ - pl_priv(p_playlist)->status.i_status = PLAYLIST_PAUSED; - break; + { /* FIXME: is this really useful without input? */ + pl_priv(p_playlist)->status.i_status = PLAYLIST_PAUSED; + /* return without notifying the playlist thread as there is nothing to do */ + return VLC_SUCCESS; } if( var_GetInteger( pl_priv(p_playlist)->p_input, "state" ) == PAUSE_S )