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

Hugo Beauzée-Luyssen hugo at beauzee.fr
Wed Jul 31 11:20:33 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 9d0bc94e78..58d7b2a89d 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -2113,10 +2113,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