Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
456
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
871670e5
Commit
871670e5
authored
6 years ago
by
Hugo Beauzée-Luyssen
Browse files
Options
Downloads
Patches
Plain Diff
core: Expose input_CreatePreparser
parent
d36e369e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/vlc_input.h
+16
-0
16 additions, 0 deletions
include/vlc_input.h
src/input/input_interface.h
+0
-15
0 additions, 15 deletions
src/input/input_interface.h
src/libvlccore.sym
+1
-0
1 addition, 0 deletions
src/libvlccore.sym
with
17 additions
and
15 deletions
include/vlc_input.h
+
16
−
0
View file @
871670e5
...
...
@@ -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
*
);
...
...
This diff is collapsed.
Click to expand it.
src/input/input_interface.h
+
0
−
15
View file @
871670e5
...
...
@@ -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.
*/
...
...
This diff is collapsed.
Click to expand it.
src/libvlccore.sym
+
1
−
0
View file @
871670e5
...
...
@@ -153,6 +153,7 @@ InitMD5
input_Control
input_Create
input_CreateFilename
input_CreatePreparser
input_DecoderCreate
input_DecoderDelete
input_DecoderDecode
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment