Commit ccd6d2b7 authored by Laurent Aimar's avatar Laurent Aimar

Stop the playlist when it is killed.

parent b1318d20
...@@ -545,7 +545,7 @@ static void LoopRequest( playlist_t *p_playlist ) ...@@ -545,7 +545,7 @@ static void LoopRequest( playlist_t *p_playlist )
const int i_status = p_sys->request.b_request ? const int i_status = p_sys->request.b_request ?
p_sys->request.i_status : p_sys->status.i_status; p_sys->request.i_status : p_sys->status.i_status;
if( i_status == PLAYLIST_STOPPED ) if( i_status == PLAYLIST_STOPPED || !vlc_object_alive( p_playlist ) )
{ {
p_sys->status.i_status = PLAYLIST_STOPPED; p_sys->status.i_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