[vlc-commits] chromecast: Remove unused methods

Hugo Beauzée-Luyssen git at videolan.org
Tue Feb 21 14:00:56 CET 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Feb 17 16:27:57 2017 +0100| [49189dd00e9105322acab2e5520de79c222208cf] | committer: Hugo Beauzée-Luyssen

chromecast: Remove unused methods

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

 modules/stream_out/chromecast/chromecast.h        |  3 ---
 modules/stream_out/chromecast/chromecast_ctrl.cpp | 13 -------------
 2 files changed, 16 deletions(-)

diff --git a/modules/stream_out/chromecast/chromecast.h b/modules/stream_out/chromecast/chromecast.h
index ca83868..5f1df17 100644
--- a/modules/stream_out/chromecast/chromecast.h
+++ b/modules/stream_out/chromecast/chromecast.h
@@ -163,9 +163,6 @@ private:
     void waitAppStarted();
     void waitSeekDone();
 
-    int connectChromecast();
-    void disconnectChromecast();
-
     void processMessage(const castchannel::CastMessage &msg);
 
     void notifySendRequest();
diff --git a/modules/stream_out/chromecast/chromecast_ctrl.cpp b/modules/stream_out/chromecast/chromecast_ctrl.cpp
index cb5480f..da32488 100644
--- a/modules/stream_out/chromecast/chromecast_ctrl.cpp
+++ b/modules/stream_out/chromecast/chromecast_ctrl.cpp
@@ -162,19 +162,6 @@ void intf_sys_t::setHasInput( bool b_has_input, const std::string mime_type )
 }
 
 /**
- * @brief Disconnect from the Chromecast
- */
-void intf_sys_t::disconnectChromecast()
-{
-    m_communication.disconnect();
-    setConnectionStatus(CHROMECAST_DISCONNECTED);
-    m_appTransportId = "";
-    m_mediaSessionId = ""; // this session is not valid anymore
-    setPlayerStatus(NO_CMD_PENDING);
-    m_receiverState = RECEIVER_IDLE;
-}
-
-/**
  * @brief Process a message received from the Chromecast
  * @param msg the CastMessage to process
  * @return 0 if the message has been successfuly processed else -1



More information about the vlc-commits mailing list