[vlc-commits] chromecast: Fix more invalid assumptions in waitAppStarted

Hugo Beauzée-Luyssen git at videolan.org
Tue Jan 16 18:48:16 CET 2018


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Jan 16 18:48:46 2018 +0100| [102367ba25e3a0d077c38b02b7abfe51671c7ddf] | committer: Hugo Beauzée-Luyssen

chromecast: Fix more invalid assumptions in waitAppStarted

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

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

diff --git a/modules/stream_out/chromecast/chromecast_ctrl.cpp b/modules/stream_out/chromecast/chromecast_ctrl.cpp
index 473e1fadd8..83a9142419 100644
--- a/modules/stream_out/chromecast/chromecast_ctrl.cpp
+++ b/modules/stream_out/chromecast/chromecast_ctrl.cpp
@@ -674,7 +674,8 @@ void intf_sys_t::setPauseState(bool paused)
 
 void intf_sys_t::waitAppStarted()
 {
-    while ( m_state == Connected || m_state == Launching )
+    while ( m_state == Connected || m_state == Launching ||
+            m_state == Authenticating || m_state == Connecting )
     {
         if ( m_state == Connected )
         {



More information about the vlc-commits mailing list