[vlc-commits] chromecast: add back stop when streams are empty

Thomas Guillem git at videolan.org
Fri Jan 26 14:27:17 CET 2018


vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Jan 26 11:07:56 2018 +0100| [66fc3b54f7bbe3e46401b94e46dae4e81810115b] | committer: Jean-Baptiste Kempf

chromecast: add back stop when streams are empty

(cherry picked from commit 4355eea6d9942dd12dbfbf5fe77db30068070005)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=66fc3b54f7bbe3e46401b94e46dae4e81810115b
---

 modules/stream_out/chromecast/cast.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/stream_out/chromecast/cast.cpp b/modules/stream_out/chromecast/cast.cpp
index 5490cf04fc..5861c8d1bf 100644
--- a/modules/stream_out/chromecast/cast.cpp
+++ b/modules/stream_out/chromecast/cast.cpp
@@ -328,6 +328,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 = "";



More information about the vlc-commits mailing list