[vlc-devel] [PATCH 26/33] chromecast: log when the Chromecast reports a launch error
Steve Lhomme
robux4 at videolabs.io
Wed Dec 23 12:58:45 CET 2015
---
modules/stream_out/chromecast/chromecast_ctrl.cpp | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/modules/stream_out/chromecast/chromecast_ctrl.cpp b/modules/stream_out/chromecast/chromecast_ctrl.cpp
index c84d01c..1650efb 100644
--- a/modules/stream_out/chromecast/chromecast_ctrl.cpp
+++ b/modules/stream_out/chromecast/chromecast_ctrl.cpp
@@ -326,6 +326,12 @@ void intf_sys_t::processMessage(const castchannel::CastMessage &msg)
}
}
+ else if (type == "LAUNCH_ERROR")
+ {
+ json_value reason = (*p_data)["reason"];
+ msg_Err(p_stream, "Failed to start the MediaPlayer: %s",
+ (const char *)reason);
+ }
else
{
msg_Err(p_stream, "Receiver command not supported: %s",
--
2.6.3
More information about the vlc-devel
mailing list