Commit f7e78fb2 authored by Petri Hintukainen's avatar Petri Hintukainen Committed by Jean-Baptiste Kempf

Reset input titles before adding new ones.

Fixes duplicate entries in title menu after INPUT_UPDATE_TITLE_LIST.
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent b1c07e97
......@@ -285,6 +285,8 @@ void input_ControlVarNavigation( input_thread_t *p_input )
if( !val.psz_string )
return;
var_Change( p_input, "title", VLC_VAR_CLEARCHOICES, NULL, NULL );
for( i = 0; i < p_input->p->i_title; i++ )
{
vlc_value_t val2, text2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment