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

Thomas Guillem git at videolan.org
Thu Feb 22 12:00:01 CET 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Feb 20 17:10:19 2018 +0100| [1e7282c16be5f49a266bb98f95141d10019b36e2] | committer: Thomas Guillem

chromecast: demux: call init() when enabled

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

 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 a27ad181aa..1b10ac2b93 100644
--- a/modules/stream_out/chromecast/chromecast_demux.cpp
+++ b/modules/stream_out/chromecast/chromecast_demux.cpp
@@ -261,6 +261,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