[vlc-commits] chromecast: fix seeking state handling
Thomas Guillem
git at videolan.org
Wed Feb 7 23:45:42 CET 2018
vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Feb 7 10:23:52 2018 +0100| [34a8c80e4e54fabcf5ed5b4b6097385875373e2e] | committer: Jean-Baptiste Kempf
chromecast: fix seeking state handling
(cherry picked from commit 30c7c87832312470bae7a3e010e66843742ca08d)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=34a8c80e4e54fabcf5ed5b4b6097385875373e2e
---
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