[vlc-commits] chromecast: make sure we send the load when the data	are flowing
    Steve Lhomme 
    git at videolan.org
       
    Wed Dec 23 20:28:27 CET 2015
    
    
  
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Wed Dec 23 12:58:47 2015 +0100| [e326621f71f21935b72628b1467b03b4b67295c9] | committer: Jean-Baptiste Kempf
chromecast: make sure we send the load when the data are flowing
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e326621f71f21935b72628b1467b03b4b67295c9
---
 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 de620d3..e12100e 100644
--- a/modules/stream_out/chromecast/chromecast_ctrl.cpp
+++ b/modules/stream_out/chromecast/chromecast_ctrl.cpp
@@ -302,8 +302,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);
    
    
More information about the vlc-commits
mailing list