vlc | branch: master | Steve Lhomme <[email protected]> | Thu Sep 24 14:42:49 2015 +0200| [6239a046928fe7d941b5356e42545891acd35db0] | committer: Jean-Baptiste Kempf
chromecast: better error reporting of unknown commands Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6239a046928fe7d941b5356e42545891acd35db0 --- modules/stream_out/chromecast/cast.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/stream_out/chromecast/cast.cpp b/modules/stream_out/chromecast/cast.cpp index a11b7ce..b8f2cb9 100644 --- a/modules/stream_out/chromecast/cast.cpp +++ b/modules/stream_out/chromecast/cast.cpp @@ -623,7 +623,7 @@ static int processMessage(sout_stream_t *p_stream, const castchannel::CastMessag } else { - msg_Err(p_stream, "Heartbeat command not supported"); + msg_Err(p_stream, "Heartbeat command not supported: %s", type.c_str()); i_ret = -1; } @@ -733,6 +733,12 @@ static int processMessage(sout_stream_t *p_stream, const castchannel::CastMessag p_sys->i_status = CHROMECAST_CONNECTION_DEAD; vlc_mutex_unlock(&p_sys->lock); } + else + { + msg_Err(p_stream, "Connection command not supported: %s", + type.c_str()); + i_ret = -1; + } } else { _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
