Commit 43ef6f5e authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

chromecast: differentiate error logs

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent b613bad6
...@@ -530,7 +530,7 @@ void intf_sys_t::handleMessages() ...@@ -530,7 +530,7 @@ void intf_sys_t::handleMessages()
if ((i_ret < 0 && errno != EAGAIN) || i_ret == 0) if ((i_ret < 0 && errno != EAGAIN) || i_ret == 0)
#endif #endif
{ {
msg_Err(p_stream, "The connection to the Chromecast died."); msg_Err(p_stream, "The connection to the Chromecast died (receiving).");
vlc_mutex_locker locker(&lock); vlc_mutex_locker locker(&lock);
setConnectionStatus(CHROMECAST_CONNECTION_DEAD); setConnectionStatus(CHROMECAST_CONNECTION_DEAD);
vlc_restorecancel(canc); vlc_restorecancel(canc);
...@@ -560,7 +560,7 @@ void intf_sys_t::handleMessages() ...@@ -560,7 +560,7 @@ void intf_sys_t::handleMessages()
if ((i_ret < 0 && errno != EAGAIN) || i_ret == 0) if ((i_ret < 0 && errno != EAGAIN) || i_ret == 0)
#endif #endif
{ {
msg_Err(p_stream, "The connection to the Chromecast died."); msg_Err(p_stream, "The connection to the Chromecast died (sending).");
vlc_mutex_locker locker(&lock); vlc_mutex_locker locker(&lock);
setConnectionStatus(CHROMECAST_CONNECTION_DEAD); setConnectionStatus(CHROMECAST_CONNECTION_DEAD);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment