vlc | branch: master | Adrien Maglo <[email protected]> | Wed Oct 22 
12:07:08 2014 +0200| [2df1cc66bba4996f3792b716f1fc090dc2fb1533] | committer: 
Jean-Baptiste Kempf

chromecast: initialize i_requestId

This fix the random start fail of the module.

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

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

 modules/stream_out/chromecast/cast.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/stream_out/chromecast/cast.cpp 
b/modules/stream_out/chromecast/cast.cpp
index 68931ca..b9247d5 100644
--- a/modules/stream_out/chromecast/cast.cpp
+++ b/modules/stream_out/chromecast/cast.cpp
@@ -73,7 +73,8 @@ enum
 struct sout_stream_sys_t
 {
     sout_stream_sys_t()
-        : p_tls(NULL), i_status(CHROMECAST_DISCONNECTED), p_out(NULL)
+        : p_tls(NULL), i_requestId(0),
+          i_status(CHROMECAST_DISCONNECTED), p_out(NULL)
     {
         atomic_init(&ab_error, false);
     }

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to