[vlc-devel] [PATCH 3/3] RFC: input: use the same id between input_thread_t and input_item_t

Thomas Guillem thomas at gllm.fr
Thu Aug 16 16:01:26 CEST 2018


This fixes the confusion, from libvlc, when trying to select an es track from a
libvlc_media_t track id.

This code is not mergeable yet and need more testing. The plan is to merge it
with the future input manager.
---
 src/input/es_out.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/input/es_out.c b/src/input/es_out.c
index 929f0a6907..7bfe5094ba 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -3177,7 +3177,6 @@ static void EsOutUpdateInfo( es_out_t *out, es_out_id_t *es, const es_format_t *
 
         input_SendEventEsUpdate(p_input, &update);
 
-        update.i_id = es->i_meta_id;
         input_item_UpdateTracksInfo(input_GetItem(p_input), &update);
     }
 
-- 
2.18.0



More information about the vlc-devel mailing list