From 43ef6f5eeb0b2e93d01f02ff43951a2bff78a470 Mon Sep 17 00:00:00 2001
From: Steve Lhomme <robUx4@videolabs.io>
Date: Wed, 23 Dec 2015 12:58:39 +0100
Subject: [PATCH] chromecast: differentiate error logs

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
---
 modules/stream_out/chromecast/chromecast_ctrl.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/stream_out/chromecast/chromecast_ctrl.cpp b/modules/stream_out/chromecast/chromecast_ctrl.cpp
index 53feac2274b4..8a1b96844fb2 100644
--- a/modules/stream_out/chromecast/chromecast_ctrl.cpp
+++ b/modules/stream_out/chromecast/chromecast_ctrl.cpp
@@ -530,7 +530,7 @@ void intf_sys_t::handleMessages()
     if ((i_ret < 0 && errno != EAGAIN) || i_ret == 0)
 #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);
         setConnectionStatus(CHROMECAST_CONNECTION_DEAD);
         vlc_restorecancel(canc);
@@ -560,7 +560,7 @@ void intf_sys_t::handleMessages()
         if ((i_ret < 0 && errno != EAGAIN) || i_ret == 0)
 #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);
             setConnectionStatus(CHROMECAST_CONNECTION_DEAD);
         }
-- 
GitLab