Commit 56436811 authored by Rafaël Carré's avatar Rafaël Carré

input: Removes useless "item-change" variable

parent 5adbff48
......@@ -31,6 +31,7 @@
#include <vlc_codec.h>
#include <vlc_aout.h>
#include <vlc_input.h>
#include <vlc_playlist.h>
#include <vlc_sout.h>
#include <ogg/ogg.h>
......@@ -725,8 +726,7 @@ static void ParseVorbisComments( decoder_t *p_dec )
r->pf_peak[AUDIO_REPLAY_GAIN_ALBUM] = atof( psz_value );
}
}
/* FIXME */
var_SetInteger( p_input, "item-change", p_item->i_id );
var_SetInteger( pl_Get( p_input ), "item-change", p_item->i_id );
free( psz_comment );
i++;
}
......
......@@ -2008,7 +2008,7 @@ static int UpdateFromAccess( input_thread_t *p_input )
vlc_meta_t *p_meta = vlc_meta_New();
access2_Control( p_input->p->input.p_access,ACCESS_GET_META, p_meta );
InputUpdateMeta( p_input, p_meta );
var_SetBool( p_input, "item-change", p_input->p->input.p_item->i_id );
var_SetInteger( pl_Get( p_input ), "item-change", p_input->p->input.p_item->i_id );
p_access->info.i_update &= ~INPUT_UPDATE_META;
}
......
......@@ -193,9 +193,6 @@ void input_ControlVarInit ( input_thread_t *p_input )
* TODO list all changes warn by this callbacks */
var_Create( p_input, "intf-change", VLC_VAR_BOOL );
var_SetBool( p_input, "intf-change", VLC_TRUE );
/* item-change variable */
var_Create( p_input, "item-change", VLC_VAR_INTEGER );
}
#undef ADD_CALLBACK
}
......
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