Skip to content
Snippets Groups Projects
Commit 871670e5 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

core: Expose input_CreatePreparser

parent d36e369e
No related branches found
No related tags found
No related merge requests found
......@@ -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 * );
......
......@@ -40,21 +40,6 @@ void input_item_SetEpgEvent( input_item_t *p_item, const vlc_epg_event_t *p_epg_
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.
*/
......
......@@ -153,6 +153,7 @@ InitMD5
input_Control
input_Create
input_CreateFilename
input_CreatePreparser
input_DecoderCreate
input_DecoderDelete
input_DecoderDecode
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment