vlc | branch: master | Thomas Guillem <tho...@gllm.fr> | Tue Feb 20 16:48:56 
2018 +0100| [975883085a236d9810cb125eafa3c812b7ab9bd6] | committer: Thomas 
Guillem

chromecast: start requestId at 1

Since 0 is reserved when the chromecast send spontaneous messages.

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

 modules/stream_out/chromecast/chromecast_communication.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/stream_out/chromecast/chromecast_communication.cpp 
b/modules/stream_out/chromecast/chromecast_communication.cpp
index 1d1366706d..999b48421b 100644
--- a/modules/stream_out/chromecast/chromecast_communication.cpp
+++ b/modules/stream_out/chromecast/chromecast_communication.cpp
@@ -36,8 +36,8 @@ ChromecastCommunication::ChromecastCommunication( 
vlc_object_t* p_module, const
     : m_module( p_module )
     , m_creds( NULL )
     , m_tls( NULL )
-    , m_receiver_requestId( 0 )
-    , m_requestId( 0 )
+    , m_receiver_requestId( 1 )
+    , m_requestId( 1 )
 {
     if (devicePort == 0)
         devicePort = CHROMECAST_CONTROL_PORT;

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to