[vlc-devel] [PATCH] chromecast: no need to query for the status when we already received a status

Steve Lhomme robux4 at videolabs.io
Fri Aug 5 13:59:13 CEST 2016


---
 modules/stream_out/chromecast/chromecast_ctrl.cpp | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/modules/stream_out/chromecast/chromecast_ctrl.cpp b/modules/stream_out/chromecast/chromecast_ctrl.cpp
index c39fe27..eff06eb 100644
--- a/modules/stream_out/chromecast/chromecast_ctrl.cpp
+++ b/modules/stream_out/chromecast/chromecast_ctrl.cpp
@@ -477,10 +477,6 @@ void intf_sys_t::processMessage(const castchannel::CastMessage &msg)
                     setPlayerStatus(NO_CMD_PENDING);
                     setConnectionStatus(CHROMECAST_APP_STARTED);
                 }
-                else
-                {
-                    msgPlayerGetStatus();
-                }
             }
             else
             {
-- 
2.8.2



More information about the vlc-devel mailing list