[vlc-commits] chromecast: Fix more invalid assumptions in waitAppStarted
Hugo Beauzée-Luyssen
git at videolan.org
Wed Jan 17 10:08:38 CET 2018
vlc/vlc-3.0 | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Jan 16 18:48:46 2018 +0100| [e98260bb2b00470a092c4102badf44a2b08936eb] | committer: Hugo Beauzée-Luyssen
chromecast: Fix more invalid assumptions in waitAppStarted
(cherry picked from commit 102367ba25e3a0d077c38b02b7abfe51671c7ddf)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=e98260bb2b00470a092c4102badf44a2b08936eb
---
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