[vlc-devel] [PATCH 2/2] es_out: the VIDEO category is now exclusive

Thomas Guillem thomas at gllm.fr
Thu Jun 20 17:54:20 CEST 2019


Multiple Video tracks can now be selected by the player with
vlc_player_SelectEsIdList().
---
 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 366c9e65c7..b439784c6d 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -346,7 +346,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" );
-- 
2.20.1



More information about the vlc-devel mailing list