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

Steve Lhomme git at videolan.org
Fri Aug 5 16:14:35 CEST 2016


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Fri Aug  5 13:59:13 2016 +0200| [50ea3827403d6b5dcf7549a7222cdd5fe0be7b7d] | committer: Jean-Baptiste Kempf

chromecast: no need to query for the status when we already received a status

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

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

 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
             {



More information about the vlc-commits mailing list