Commit 6239a046 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

chromecast: better error reporting of unknown commands

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 84f15068
...@@ -623,7 +623,7 @@ static int processMessage(sout_stream_t *p_stream, const castchannel::CastMessag ...@@ -623,7 +623,7 @@ static int processMessage(sout_stream_t *p_stream, const castchannel::CastMessag
} }
else else
{ {
msg_Err(p_stream, "Heartbeat command not supported"); msg_Err(p_stream, "Heartbeat command not supported: %s", type.c_str());
i_ret = -1; i_ret = -1;
} }
...@@ -733,6 +733,12 @@ static int processMessage(sout_stream_t *p_stream, const castchannel::CastMessag ...@@ -733,6 +733,12 @@ static int processMessage(sout_stream_t *p_stream, const castchannel::CastMessag
p_sys->i_status = CHROMECAST_CONNECTION_DEAD; p_sys->i_status = CHROMECAST_CONNECTION_DEAD;
vlc_mutex_unlock(&p_sys->lock); vlc_mutex_unlock(&p_sys->lock);
} }
else
{
msg_Err(p_stream, "Connection command not supported: %s",
type.c_str());
i_ret = -1;
}
} }
else else
{ {
......
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