[vlc-devel] [PATCH 14/16] chromecast: tell the control class when to tell the Chromecast to load content

Steve Lhomme robux4 at videolabs.io
Thu Apr 28 14:20:58 CEST 2016


---
 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;
-- 
2.7.0



More information about the vlc-devel mailing list