Commit 91632206 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

input: remove unused INPUT_GET_INFO

input_item_GetInfo() can be used directly.
parent 9b34d606
......@@ -436,7 +436,6 @@ enum input_query_e
INPUT_ADD_INFO, /* arg1= char* arg2= char* arg3=... res=can fail */
INPUT_REPLACE_INFOS,/* arg1= info_category_t * res=cannot fail */
INPUT_MERGE_INFOS,/* arg1= info_category_t * res=cannot fail */
INPUT_GET_INFO, /* arg1= char* arg2= char* arg3= char** res=can fail */
INPUT_DEL_INFO, /* arg1= char* arg2= char* res=can fail */
/* bookmarks */
......
......@@ -192,18 +192,6 @@ int input_vaControl( input_thread_t *p_input, int i_query, va_list args )
input_SendEventMetaInfo( p_input );
return i_ret;
}
case INPUT_GET_INFO:
{
char *psz_cat = (char *)va_arg( args, char * );
char *psz_name = (char *)va_arg( args, char * );
char **ppsz_value = (char **)va_arg( args, char ** );
int i_ret = VLC_EGENERIC;
*ppsz_value = NULL;
*ppsz_value = input_item_GetInfo( priv->p_item, psz_cat,
psz_name );
return i_ret;
}
case INPUT_ADD_BOOKMARK:
p_bkmk = (seekpoint_t *)va_arg( args, seekpoint_t * );
......
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