[vlc-commits] chromecast: reset the player status on reconnection

Steve Lhomme git at videolan.org
Fri Jun 24 18:37:04 CEST 2016


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Thu Jun 23 14:22:21 2016 +0200| [3ba1bd710cb07b3b6d9241f140b2db62d54ad046] | committer: Jean-Baptiste Kempf

chromecast: reset the player status on reconnection

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

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

 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 35d02b4..1ea0a95 100644
--- a/modules/stream_out/chromecast/chromecast_ctrl.cpp
+++ b/modules/stream_out/chromecast/chromecast_ctrl.cpp
@@ -474,6 +474,7 @@ void intf_sys_t::processMessage(const castchannel::CastMessage &msg)
                         && conn_status == CHROMECAST_AUTHENTICATED)
                 {
                     msgConnect(appTransportId);
+                    setPlayerStatus(NO_CMD_PENDING);
                     setConnectionStatus(CHROMECAST_APP_STARTED);
                 }
                 else



More information about the vlc-commits mailing list