[vlc-commits] input: keep ES_OUT_MODE_AUTO when using a renderer

Thomas Guillem git at videolan.org
Fri Jan 19 17:58:30 CET 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Jan 19 16:26:27 2018 +0100| [50ce0b4f0f56df1ed24e42da65bea1b5498888f7] | committer: Thomas Guillem

input: keep ES_OUT_MODE_AUTO when using a renderer

Chromecast need auto mode in order to avoid to send extra tracks that can't be
read by the CC and in order to make the es selection works.

Ideally, this mode should be fetched from the renderer item.

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

 src/input/input.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/input/input.c b/src/input/input.c
index 1517ac06a4..7476771fd1 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -1221,7 +1221,7 @@ static void InitPrograms( input_thread_t * p_input )
 
     /* Set up es_out */
     i_es_out_mode = ES_OUT_MODE_AUTO;
-    if( input_priv(p_input)->p_sout )
+    if( input_priv(p_input)->p_sout && !input_priv(p_input)->p_renderer )
     {
         char *prgms;
 



More information about the vlc-commits mailing list