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

Remove unused INPUT_ADD_OPTION

parent 5c735144
......@@ -479,9 +479,6 @@ enum input_query_e
INPUT_DEL_INFO, /* arg1= char* arg2= char* res=can fail */
INPUT_SET_NAME, /* arg1= char* res=can fail */
/* Input config options */
INPUT_ADD_OPTION, /* arg1= char * arg2= char * res=can fail*/
/* Input properties */
INPUT_GET_VIDEO_FPS, /* arg1= double * res=can fail */
......
......@@ -349,22 +349,6 @@ int input_vaControl( input_thread_t *p_input, int i_query, va_list args )
}
}
case INPUT_ADD_OPTION:
{
const char *psz_option = va_arg( args, const char * );
const char *psz_value = va_arg( args, const char * );
char *str;
int i;
if( asprintf( &str, "%s=%s", psz_option, psz_value ) == -1 )
return VLC_ENOMEM;
i = input_item_AddOption( p_input->p->p_item, str,
VLC_INPUT_OPTION_UNIQUE );
free( str );
return i;
}
case INPUT_GET_VIDEO_FPS:
pf = (double*)va_arg( args, double * );
......
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