From 34f2246a7e4b1d95b3ae7469038a82527c6ad3a0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Felix=20Paul=20K=C3=BChne?= Date: Mon, 5 Feb 2018 18:59:50 +0100 Subject: [PATCH] chromecast: compilation fix --- 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; -- 2.11.4.GIT