[vlc-commits] chromecast: double lock
Rémi Denis-Courmont
git at videolan.org
Wed Nov 5 22:32:16 CET 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Nov 5 23:32:10 2014 +0200| [0005a10c5245d78a091eca3dc623b9ee429290fa] | committer: Rémi Denis-Courmont
chromecast: double lock
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0005a10c5245d78a091eca3dc623b9ee429290fa
---
modules/stream_out/chromecast/cast.cpp | 2 --
1 file changed, 2 deletions(-)
diff --git a/modules/stream_out/chromecast/cast.cpp b/modules/stream_out/chromecast/cast.cpp
index b5da717..b26c263 100644
--- a/modules/stream_out/chromecast/cast.cpp
+++ b/modules/stream_out/chromecast/cast.cpp
@@ -679,9 +679,7 @@ static int processMessage(sout_stream_t *p_stream, const castchannel::CastMessag
case CHROMECAST_MEDIA_LOAD_SENT:
msg_Warn(p_stream, "app is no longer present. closing");
msgClose(p_stream, p_sys->appTransportId);
- vlc_mutex_lock(&p_sys->lock);
p_sys->i_status = CHROMECAST_CONNECTION_DEAD;
- vlc_mutex_unlock(&p_sys->lock);
// ft
default:
break;
More information about the vlc-commits
mailing list