Commit e326621f authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

chromecast: make sure we send the load when the data are flowing

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent e8d7355d
...@@ -302,8 +302,8 @@ void intf_sys_t::processMessage(const castchannel::CastMessage &msg) ...@@ -302,8 +302,8 @@ void intf_sys_t::processMessage(const castchannel::CastMessage &msg)
if (!appTransportId.empty() if (!appTransportId.empty()
&& getConnectionStatus() == CHROMECAST_AUTHENTICATED) && getConnectionStatus() == CHROMECAST_AUTHENTICATED)
{ {
setConnectionStatus(CHROMECAST_APP_STARTED);
msgConnect(appTransportId); msgConnect(appTransportId);
setConnectionStatus(CHROMECAST_APP_STARTED);
msgPlayerLoad(); msgPlayerLoad();
setConnectionStatus(CHROMECAST_MEDIA_LOAD_SENT); setConnectionStatus(CHROMECAST_MEDIA_LOAD_SENT);
vlc_cond_signal(&loadCommandCond); vlc_cond_signal(&loadCommandCond);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment