[vlc-commits] input: Don't send an VLC_INPUT_TITLE_SELECTED event

Hugo Beauzée-Luyssen git at videolan.org
Tue Sep 24 14:34:19 CEST 2019


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Jul 18 17:19:28 2019 +0200| [43830b7616bccd3a10c974a2067e68c9f6babe59] | committer: Hugo Beauzée-Luyssen

input: Don't send an VLC_INPUT_TITLE_SELECTED event

The input already takes care of it by probing the demux in
UpdateTitleSeekpointFromDemux

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

 src/input/input.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/input/input.c b/src/input/input.c
index c1e39277a1..983e235917 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -2121,10 +2121,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:



More information about the vlc-commits mailing list