[vlc-commits] chromecast: demux: call init() when enabled

Thomas Guillem git at videolan.org
Fri Feb 23 08:29:34 CET 2018


vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Feb 20 17:10:19 2018 +0100| [522e4a25c2af060de633c6e40df4aa4d013e23f5] | committer: Thomas Guillem

chromecast: demux: call init() when enabled

(cherry picked from commit 1e7282c16be5f49a266bb98f95141d10019b36e2)
Signed-off-by: Thomas Guillem <thomas at gllm.fr>

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

 modules/stream_out/chromecast/chromecast_demux.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/stream_out/chromecast/chromecast_demux.cpp b/modules/stream_out/chromecast/chromecast_demux.cpp
index 30ff8ea51d..81b15c77fe 100644
--- a/modules/stream_out/chromecast/chromecast_demux.cpp
+++ b/modules/stream_out/chromecast/chromecast_demux.cpp
@@ -262,6 +262,7 @@ struct demux_sys_t
             p_renderer = static_cast<chromecast_common *>(
                         var_InheritAddress( p_demux, CC_SHARED_VAR_NAME ) );
             m_enabled = true;
+            init();
             return VLC_SUCCESS;
 
         case DEMUX_FILTER_DISABLE:



More information about the vlc-commits mailing list