[vlc-commits] chromecast: tell the control class when to tell the Chromecast to load content

Steve Lhomme git at videolan.org
Tue May 3 13:23:00 CEST 2016


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Thu Apr 28 14:20:58 2016 +0200| [d5b6904d4d777b75377de04771b5635abd1c4e84] | committer: Thomas Guillem

chromecast: tell the control class when to tell the Chromecast to load content

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

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

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

diff --git a/modules/stream_out/chromecast/cast.cpp b/modules/stream_out/chromecast/cast.cpp
index 36b26c3..4e3608a 100644
--- a/modules/stream_out/chromecast/cast.cpp
+++ b/modules/stream_out/chromecast/cast.cpp
@@ -324,6 +324,9 @@ int sout_stream_sys_t::UpdateOutput( sout_stream_t *p_stream )
                 streams.erase( it, it );
             }
         }
+
+        /* tell the chromecast to load the content */
+        p_intf->setHasInput( true, mime );
     }
 
     return VLC_SUCCESS;



More information about the vlc-commits mailing list