[vlc-commits] es_out: the VIDEO category is now exclusive

Thomas Guillem git at videolan.org
Tue Jun 25 20:55:40 CEST 2019


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Jun 20 17:45:45 2019 +0200| [81e322cc1a94407452f09b07cc2097dafff1dadb] | committer: Thomas Guillem

es_out: the VIDEO category is now exclusive

Multiple Video tracks can now be selected by the player with
vlc_player_SelectEsIdList().

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

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

diff --git a/src/input/es_out.c b/src/input/es_out.c
index 5b0f262824..7e9ac98d3d 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -481,7 +481,7 @@ es_out_t *input_EsOutNew( input_thread_t *p_input, float rate )
     vlc_list_init(&p_sys->es_slaves);
 
     /* */
-    EsOutPropsInit( &p_sys->video, true, p_input, ES_OUT_ES_POLICY_SIMULTANEOUS,
+    EsOutPropsInit( &p_sys->video, true, p_input, ES_OUT_ES_POLICY_EXCLUSIVE,
                     "video-track-id", "video-track", NULL, NULL );
     EsOutPropsInit( &p_sys->audio, true, p_input, ES_OUT_ES_POLICY_EXCLUSIVE,
                     "audio-track-id", "audio-track", "audio-language", "audio" );



More information about the vlc-commits mailing list