vlc | branch: master | Thomas Guillem <[email protected]> | Fri May 10 15:58:18 2019 +0200| [ffa6409883b4174a5cb85d6691a04a725d4eacaf] | committer: Thomas Guillem
input: remove unused input_Control > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ffa6409883b4174a5cb85d6691a04a725d4eacaf --- include/vlc_input.h | 12 --------- po/POTFILES.in | 1 - src/Makefile.am | 1 - src/input/control.c | 77 ----------------------------------------------------- src/libvlccore.sym | 2 -- 5 files changed, 93 deletions(-) diff --git a/include/vlc_input.h b/include/vlc_input.h index 30ef412d48..86f640c49b 100644 --- a/include/vlc_input.h +++ b/include/vlc_input.h @@ -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 ); diff --git a/po/POTFILES.in b/po/POTFILES.in index 722fa705c8..61b8aadedc 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -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 diff --git a/src/Makefile.am b/src/Makefile.am index bc826dfefe..bc6694586f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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 \ diff --git a/src/input/control.c b/src/input/control.c deleted file mode 100644 index 1fe038354e..0000000000 --- a/src/input/control.c +++ /dev/null @@ -1,77 +0,0 @@ -/***************************************************************************** - * control.c - ***************************************************************************** - * Copyright (C) 1999-2015 VLC authors and VideoLAN - * - * Authors: Gildas Bazin <[email protected]> - * - * 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; - } -} diff --git a/src/libvlccore.sym b/src/libvlccore.sym index a7dd0957f0..3e6a4428b2 100644 --- a/src/libvlccore.sym +++ b/src/libvlccore.sym @@ -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 _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
