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

Steve Lhomme robux4 at videolabs.io
Thu Jun 23 14:22:21 CEST 2016


---
 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 e0286b9..89916b5 100644
--- a/modules/stream_out/chromecast/chromecast_ctrl.cpp
+++ b/modules/stream_out/chromecast/chromecast_ctrl.cpp
@@ -475,6 +475,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
-- 
2.8.2



More information about the vlc-devel mailing list