[vlc-commits] chromecast: fix seeking state handling

Thomas Guillem git at videolan.org
Wed Feb 7 14:43:16 CET 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Feb  7 10:23:52 2018 +0100| [30c7c87832312470bae7a3e010e66843742ca08d] | committer: Thomas Guillem

chromecast: fix seeking state handling

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

 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 70ed8bdc70..e5c6147992 100644
--- a/modules/stream_out/chromecast/chromecast_ctrl.cpp
+++ b/modules/stream_out/chromecast/chromecast_ctrl.cpp
@@ -989,7 +989,7 @@ void intf_sys_t::setState( States state )
 #ifndef NDEBUG
         msg_Dbg( m_module, "Switching from state %s to %s", StateToStr( m_state ), StateToStr( state ) );
 #endif
-        if (state == Seeking)
+        if (m_state == Seeking)
             if (m_on_seek_done != NULL)
                 m_on_seek_done(m_on_seek_done_data);
         m_state = state;



More information about the vlc-commits mailing list