[vlc-commits] chromecast: start requestId at 1
Thomas Guillem
git at videolan.org
Thu Feb 22 11:59:52 CET 2018
vlc | branch: master | Thomas Guillem <thomas at 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;
More information about the vlc-commits
mailing list