From dcfa9180984e17881930a311d531bc69621717cd Mon Sep 17 00:00:00 2001 From: Steve Lhomme <robux4@videolabs.io> Date: Wed, 23 Dec 2015 21:49:58 +0100 Subject: [PATCH] chromecast_ctrl: fix deadlock introduced in e8d7355d0dcd9cd12937900d3ca6b6e2d2d40e71 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr> --- modules/stream_out/chromecast/chromecast_ctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/stream_out/chromecast/chromecast_ctrl.cpp b/modules/stream_out/chromecast/chromecast_ctrl.cpp index 25aea794802f..f0d56d82bdd3 100644 --- a/modules/stream_out/chromecast/chromecast_ctrl.cpp +++ b/modules/stream_out/chromecast/chromecast_ctrl.cpp @@ -411,7 +411,7 @@ void intf_sys_t::processMessage(const castchannel::CastMessage &msg) { msg_Err(p_stream, "Media load failed"); msgReceiverClose(appTransportId); - vlc_mutex_lock(&lock); + vlc_mutex_locker locker(&lock); setConnectionStatus(CHROMECAST_CONNECTION_DEAD); } else if (type == "INVALID_REQUEST") -- GitLab