Commit ffa64098 authored by Thomas Guillem's avatar Thomas Guillem

input: remove unused input_Control

parent 8a165f9e
......@@ -531,14 +531,6 @@ typedef void (*input_thread_events_cb)( input_thread_t *input,
const struct vlc_input_event *event,
void *userdata);
/**
* Input queries
*/
enum input_query_e
{
INPUT_DUMMY,
};
/** @}*/
/*****************************************************************************
......@@ -580,10 +572,6 @@ VLC_API int input_Read( vlc_object_t *, input_item_t *,
input_thread_events_cb, void * );
#define input_Read(a,b,c,d) input_Read(VLC_OBJECT(a),b,c,d)
VLC_API int input_vaControl( input_thread_t *, int i_query, va_list );
VLC_API int input_Control( input_thread_t *, int i_query, ... );
VLC_API void input_Close( input_thread_t * );
VLC_API void input_SetTime( input_thread_t *, vlc_tick_t i_time, bool b_fast );
......
......@@ -67,7 +67,6 @@ src/config/intf.c
src/darwin/error.c
src/extras/libc.c
src/input/access.c
src/input/control.c
src/input/decoder.c
src/input/decoder.h
src/input/demux.c
......
......@@ -252,7 +252,6 @@ libvlccore_la_SOURCES = \
clock/clock_internal.c \
clock/input_clock.c \
clock/clock.c \
input/control.c \
input/decoder.c \
input/decoder_helpers.c \
input/demux.c \
......
/*****************************************************************************
* control.c
*****************************************************************************
* Copyright (C) 1999-2015 VLC authors and VideoLAN
*
* Authors: Gildas Bazin <gbazin@videolan.org>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <vlc_common.h>
#include <vlc_renderer_discovery.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include "input_internal.h"
#include "event.h"
#include "resource.h"
#include "es_out.h"
/****************************************************************************
* input_Control
****************************************************************************/
/**
* Control function for inputs.
* \param p_input input handle
* \param i_query query type
* \return VLC_SUCCESS if ok
*/
int input_Control( input_thread_t *p_input, int i_query, ... )
{
va_list args;
int i_result;
va_start( args, i_query );
i_result = input_vaControl( p_input, i_query, args );
va_end( args );
return i_result;
}
int input_vaControl( input_thread_t *p_input, int i_query, va_list args )
{
input_thread_private_t *priv = input_priv(p_input);
seekpoint_t *p_bkmk, ***ppp_bkmk;
int i_bkmk = 0;
int *pi_bkmk;
bool b_bool;
char *psz;
vlc_value_t val;
switch( i_query )
{
default:
msg_Err( p_input, "unknown query 0x%x in %s", i_query, __func__ );
return VLC_EGENERIC;
}
}
......@@ -159,7 +159,6 @@ image_HandlerDelete
image_Mime2Fourcc
image_Type2Fourcc
InitMD5
input_Control
input_Create
input_CreateFilename
input_CreatePreparser
......@@ -221,7 +220,6 @@ input_Start
input_Stop
input_Hold
input_Release
input_vaControl
input_SetTime
input_SetPosition
vlc_readdir_helper_init
......
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