[vlc-devel] [PATCH 03/14] input: Don't send an VLC_INPUT_TITLE_SELECTED event

Hugo Beauzée-Luyssen hugo at beauzee.fr
Mon Sep 23 11:44:46 CEST 2019


The input already takes care of it by probing the demux in
UpdateTitleSeekpointFromDemux
---
 src/input/input.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/input/input.c b/src/input/input.c
index 193e47d676..8469d11920 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -2111,10 +2111,6 @@ static bool Control( input_thread_t *p_input,
             es_out_Control( priv->p_es_out, ES_OUT_RESET_PCR );
             demux_Control( priv->master->p_demux,
                            DEMUX_SET_TITLE, i_title );
-            input_SendEventTitle( p_input, &(struct vlc_input_event_title) {
-                .action = VLC_INPUT_TITLE_SELECTED,
-                .selected_idx = i_title,
-            });
             break;
         }
         case INPUT_CONTROL_SET_SEEKPOINT:
-- 
2.20.1



More information about the vlc-devel mailing list