[vlc-commits] chromecast: don't use atomic

Thomas Guillem git at videolan.org
Fri Feb 23 08:29:29 CET 2018


vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Feb 20 16:58:49 2018 +0100| [c09250015a7be73c287d49128d78c9c95103bc8d] | committer: Thomas Guillem

chromecast: don't use atomic

msg are always sent locked.

(cherry picked from commit e1ab5812569b6df6f9a42cd4d60e7aac7f927c53)
Signed-off-by: Thomas Guillem <thomas at gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=c09250015a7be73c287d49128d78c9c95103bc8d
---

 modules/stream_out/chromecast/chromecast.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/stream_out/chromecast/chromecast.h b/modules/stream_out/chromecast/chromecast.h
index 6808066ed0..3b8df10768 100644
--- a/modules/stream_out/chromecast/chromecast.h
+++ b/modules/stream_out/chromecast/chromecast.h
@@ -151,7 +151,7 @@ private:
     vlc_tls_creds_t *m_creds;
     vlc_tls_t *m_tls;
     unsigned m_receiver_requestId;
-    std::atomic_uint m_requestId;
+    unsigned m_requestId;
     std::string m_serverIp;
 };
 



More information about the vlc-commits mailing list