[vlc-devel] [PATCH 28/33] chromecast: make sure we send the load when the data are flowing

Steve Lhomme robux4 at videolabs.io
Wed Dec 23 12:58:47 CET 2015


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

diff --git a/modules/stream_out/chromecast/chromecast_ctrl.cpp b/modules/stream_out/chromecast/chromecast_ctrl.cpp
index ae2a1a0..d8a759a 100644
--- a/modules/stream_out/chromecast/chromecast_ctrl.cpp
+++ b/modules/stream_out/chromecast/chromecast_ctrl.cpp
@@ -299,8 +299,8 @@ void intf_sys_t::processMessage(const castchannel::CastMessage &msg)
                 if (!appTransportId.empty()
                         && getConnectionStatus() == CHROMECAST_AUTHENTICATED)
                 {
-                    setConnectionStatus(CHROMECAST_APP_STARTED);
                     msgConnect(appTransportId);
+                    setConnectionStatus(CHROMECAST_APP_STARTED);
                     msgPlayerLoad();
                     setConnectionStatus(CHROMECAST_MEDIA_LOAD_SENT);
                     vlc_cond_signal(&loadCommandCond);
-- 
2.6.3



More information about the vlc-devel mailing list