[vlc-commits] input: remove input_Preparse()
Rémi Denis-Courmont
git at videolan.org
Wed Oct 28 18:47:49 CET 2015
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Oct 28 19:24:09 2015 +0200| [ff384dc7dbcff1903d22ec251098b4198e1d08e8] | committer: Rémi Denis-Courmont
input: remove input_Preparse()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ff384dc7dbcff1903d22ec251098b4198e1d08e8
---
src/input/input.c | 23 -----------------------
src/input/input_interface.h | 2 --
2 files changed, 25 deletions(-)
diff --git a/src/input/input.c b/src/input/input.c
index 04af6d4..70ff07b 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -157,29 +157,6 @@ input_thread_t *input_CreatePreparser( vlc_object_t *parent,
}
/**
- * Initialize an input and initialize it to preparse the item
- * This function is blocking. It will only accept parsing regular files.
- *
- * \param p_parent a vlc_object_t
- * \param p_item an input item
- * \return VLC_SUCCESS or an error
- */
-int input_Preparse( vlc_object_t *p_parent, input_item_t *p_item )
-{
- input_thread_t *p_input;
- int ret;
-
- /* Allocate descriptor */
- p_input = input_CreatePreparser( p_parent, p_item );
- if( !p_input )
- return VLC_EGENERIC;
-
- ret = input_Start( p_input );
- input_Close( p_input );
- return ret;
-}
-
-/**
* Start a input_thread_t created by input_Create.
*
* You must not start an already running input_thread_t.
diff --git a/src/input/input_interface.h b/src/input/input_interface.h
index 3108d15..a3890f7 100644
--- a/src/input/input_interface.h
+++ b/src/input/input_interface.h
@@ -50,8 +50,6 @@ void input_item_SetEpgOffline( input_item_t * );
input_thread_t *input_CreatePreparser(vlc_object_t *obj, input_item_t *item)
VLC_USED;
-int input_Preparse( vlc_object_t *, input_item_t * );
-
/* misc/stats.c
* FIXME it should NOT be defined here or not coded in misc/stats.c */
input_stats_t *stats_NewInputStats( input_thread_t *p_input );
More information about the vlc-commits
mailing list