[vlc-commits] chromecast: the lock mutex is used recursively
Steve Lhomme
git at videolan.org
Tue May 3 13:23:00 CEST 2016
vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Thu Apr 28 16:41:14 2016 +0200| [e2827f5367e6095ba8177d55ea97417a3a4aedd4] | committer: Thomas Guillem
chromecast: the lock mutex is used recursively
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e2827f5367e6095ba8177d55ea97417a3a4aedd4
---
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 4a1d6d4..0707082 100644
--- a/modules/stream_out/chromecast/chromecast_ctrl.cpp
+++ b/modules/stream_out/chromecast/chromecast_ctrl.cpp
@@ -106,7 +106,7 @@ intf_sys_t::intf_sys_t(vlc_object_t * const p_this, int port, std::string device
, i_requestId(0)
, has_input(false)
{
- vlc_mutex_init(&lock);
+ vlc_mutex_init_recursive(&lock);
vlc_cond_init(&loadCommandCond);
// Start the Chromecast event thread.
More information about the vlc-commits
mailing list