Skip to content
Snippets Groups Projects
Commit 82d70b6f authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf
Browse files

chromecast: use vlc_mutex_locker


Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent e326621f
No related branches found
No related tags found
No related merge requests found
......@@ -387,9 +387,8 @@ void intf_sys_t::processMessage(const castchannel::CastMessage &msg)
if (type == "CLOSE")
{
msg_Warn(p_stream, "received close message");
vlc_mutex_lock(&lock);
vlc_mutex_locker locker(&lock);
setConnectionStatus(CHROMECAST_CONNECTION_DEAD);
vlc_mutex_unlock(&lock);
}
else
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment