[vlc-commits] chromecast: Fix new mediaSessionId log

Hugo Beauzée-Luyssen git at videolan.org
Thu Feb 16 09:54:12 CET 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Feb 15 16:37:47 2017 +0100| [44ebeff0dbb4265ead36ac452cd1cf35354e67e5] | committer: Hugo Beauzée-Luyssen

chromecast: Fix new mediaSessionId log

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

 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 13b1338..bf1c687 100644
--- a/modules/stream_out/chromecast/chromecast_ctrl.cpp
+++ b/modules/stream_out/chromecast/chromecast_ctrl.cpp
@@ -557,7 +557,7 @@ void intf_sys_t::processMessage(const castchannel::CastMessage &msg)
                 }
                 if (session_id[0] && mediaSessionId != session_id) {
                     if (!mediaSessionId.empty())
-                        msg_Warn( p_module, "different mediaSessionId detected %s was %s", mediaSessionId.c_str(), this->mediaSessionId.c_str());
+                        msg_Warn( p_module, "different mediaSessionId detected %s was %s", session_id, this->mediaSessionId.c_str());
                     mediaSessionId = session_id;
                 }
             }



More information about the vlc-commits mailing list