vlc | branch: master | Thomas Guillem <tho...@gllm.fr> | Thu Jul 12 12:01:49 
2018 +0200| [587bfea416517a4d52e28daec2e51117ff3483fd] | committer: Thomas 
Guillem

chromecast: use input vars instead of controls

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

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

diff --git a/modules/stream_out/chromecast/chromecast_demux.cpp 
b/modules/stream_out/chromecast/chromecast_demux.cpp
index 01cb30046d..915298c6e1 100644
--- a/modules/stream_out/chromecast/chromecast_demux.cpp
+++ b/modules/stream_out/chromecast/chromecast_demux.cpp
@@ -460,7 +460,7 @@ static void on_paused_changed_cb( void *data, bool paused )
 
     input_thread_t *p_input = p_demux->p_next->p_input;
     if( p_input )
-        input_Control( p_input, INPUT_SET_STATE, paused ? PAUSE_S : PLAYING_S 
);
+        var_SetInteger( p_input, "state", paused ? PAUSE_S : PLAYING_S );
 }
 
 static int Demux( demux_t *p_demux_filter )

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to