[vlc-commits] chromecast: compilation fix

Felix Paul Kühne git at videolan.org
Mon Feb 5 18:59:56 CET 2018


vlc | branch: master | Felix Paul Kühne <felix at feepk.net> | Mon Feb  5 18:59:50 2018 +0100| [34f2246a7e4b1d95b3ae7469038a82527c6ad3a0] | committer: Felix Paul Kühne

chromecast: compilation fix

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

 modules/stream_out/chromecast/chromecast.h        | 2 +-
 modules/stream_out/chromecast/chromecast_ctrl.cpp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/stream_out/chromecast/chromecast.h b/modules/stream_out/chromecast/chromecast.h
index 97123967be..4f0ecd9300 100644
--- a/modules/stream_out/chromecast/chromecast.h
+++ b/modules/stream_out/chromecast/chromecast.h
@@ -165,7 +165,7 @@ struct intf_sys_t
     bool isFinishedPlaying();
 
     void setHasInput(const std::string mime_type = "");
-    bool isStatePlaying() const;
+    bool isPlaying() const;
 
     void requestPlayerSeek(mtime_t pos);
     void requestPlayerStop();
diff --git a/modules/stream_out/chromecast/chromecast_ctrl.cpp b/modules/stream_out/chromecast/chromecast_ctrl.cpp
index 13f406f901..dad14c0334 100644
--- a/modules/stream_out/chromecast/chromecast_ctrl.cpp
+++ b/modules/stream_out/chromecast/chromecast_ctrl.cpp
@@ -839,7 +839,7 @@ States intf_sys_t::state() const
 void intf_sys_t::requestPlayerSeek(mtime_t pos)
 {
     vlc_mutex_locker locker(&m_lock);
-    if( !isStatePlaying() || m_mediaSessionId == 0 )
+    if( !isPlaying() || m_mediaSessionId == 0 )
         return;
     if ( pos != VLC_TS_INVALID )
         m_ts_local_start = pos;



More information about the vlc-commits mailing list