[vlc-commits] chromecast: when we STOP we know we don't have any input

Steve Lhomme git at videolan.org
Fri Aug 5 16:13:59 CEST 2016


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Thu Aug  4 17:57:08 2016 +0200| [df4367d26efc1c9787ec38c3c724764ad8021246] | committer: Jean-Baptiste Kempf

chromecast: when we STOP we know we don't have any input

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

diff --git a/modules/stream_out/chromecast/chromecast_ctrl.cpp b/modules/stream_out/chromecast/chromecast_ctrl.cpp
index 2bfcdd7..4d3b9f3 100644
--- a/modules/stream_out/chromecast/chromecast_ctrl.cpp
+++ b/modules/stream_out/chromecast/chromecast_ctrl.cpp
@@ -1051,6 +1051,7 @@ void intf_sys_t::notifySendRequest()
 void intf_sys_t::requestPlayerStop()
 {
     requested_stop = true;
+    setHasInput(false);
     notifySendRequest();
 }
 



More information about the vlc-commits mailing list