chromecast: add back stop when streams are empty
authorThomas Guillem <thomas@gllm.fr>
Fri, 26 Jan 2018 10:07:56 +0000 (11:07 +0100)
committerThomas Guillem <thomas@gllm.fr>
Fri, 26 Jan 2018 10:42:16 +0000 (11:42 +0100)
modules/stream_out/chromecast/cast.cpp

index 93ece3b..ae4bb5c 100644 (file)
@@ -330,6 +330,7 @@ static void Del(sout_stream_t *p_stream, sout_stream_id_sys_t *id)
 
     if ( p_sys->out_streams.empty() )
     {
+        p_sys->p_intf->requestPlayerStop();
         sout_StreamChainDelete( p_sys->p_out, NULL );
         p_sys->p_out = NULL;
         p_sys->sout = "";