[vlc-commits] core: Expose input_CreatePreparser
Hugo Beauzée-Luyssen
git at videolan.org
Tue Jul 17 23:28:09 CEST 2018
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Jun 8 11:16:34 2018 +0200| [4e7e9f66a769a7cbc9e2c9eb88fd757703260982] | committer: Hugo Beauzée-Luyssen
core: Expose input_CreatePreparser
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4e7e9f66a769a7cbc9e2c9eb88fd757703260982
---
include/vlc_input.h | 16 ++++++++++++++++
src/input/input_interface.h | 15 ---------------
src/libvlccore.sym | 1 +
3 files changed, 17 insertions(+), 15 deletions(-)
diff --git a/include/vlc_input.h b/include/vlc_input.h
index 623fad3aae..73bdc41fd9 100644
--- a/include/vlc_input.h
+++ b/include/vlc_input.h
@@ -556,6 +556,22 @@ VLC_API input_thread_t * input_Create( vlc_object_t *p_parent,
vlc_renderer_item_t* p_renderer ) VLC_USED;
#define input_Create(a,b,c,d,e,f,g) input_Create(VLC_OBJECT(a),b,c,d,e,f,g)
+
+/**
+ * Creates an item preparser.
+ *
+ * Creates an input thread to preparse an item. The input needs to be started
+ * with input_Start() afterwards.
+ *
+ * @param obj parent object
+ * @param item input item to preparse
+ * @return an input thread or NULL on error
+ */
+VLC_API input_thread_t *input_CreatePreparser(vlc_object_t *obj,
+ input_thread_events_cb events_cb,
+ void *events_data, input_item_t *item)
+VLC_USED;
+
VLC_API int input_Start( input_thread_t * );
VLC_API void input_Stop( input_thread_t * );
diff --git a/src/input/input_interface.h b/src/input/input_interface.h
index a2635c429a..779798d7f9 100644
--- a/src/input/input_interface.h
+++ b/src/input/input_interface.h
@@ -41,21 +41,6 @@ void input_item_SetEpgTime( input_item_t *, int64_t );
void input_item_SetEpgOffline( input_item_t * );
/**
- * Creates an item preparser.
- *
- * Creates an input thread to preparse an item. The input needs to be started
- * with input_Start() afterwards.
- *
- * @param obj parent object
- * @param item input item to preparse
- * @return an input thread or NULL on error
- */
-input_thread_t *input_CreatePreparser(vlc_object_t *obj,
- input_thread_events_cb events_cb,
- void *events_data, input_item_t *item)
-VLC_USED;
-
-/**
* This function deletes the current sout in the resources.
*/
void input_resource_TerminateSout( input_resource_t *p_resource );
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index aa60639a82..dab796777a 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -153,6 +153,7 @@ InitMD5
input_Control
input_Create
input_CreateFilename
+input_CreatePreparser
input_DecoderCreate
input_DecoderDelete
input_DecoderDecode
More information about the vlc-commits
mailing list