Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
60411529
Commit
60411529
authored
Feb 11, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Privatize input_Preparse
parent
c9c8a74b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
7 deletions
+5
-7
include/vlc_input.h
include/vlc_input.h
+0
-3
src/input/input.c
src/input/input.c
+2
-2
src/input/input_interface.h
src/input/input_interface.h
+2
-0
src/libvlccore.sym
src/libvlccore.sym
+0
-1
src/playlist/preparser.c
src/playlist/preparser.c
+1
-1
No files found.
include/vlc_input.h
View file @
60411529
...
...
@@ -439,9 +439,6 @@ VLC_EXPORT( input_thread_t *, __input_CreateThread, ( vlc_object_t *, input_item
VLC_EXPORT
(
void
,
input_StopThread
,
(
input_thread_t
*
)
);
#define input_Preparse(a,b) __input_Preparse(VLC_OBJECT(a),b)
VLC_EXPORT
(
int
,
__input_Preparse
,
(
vlc_object_t
*
,
input_item_t
*
)
);
#define input_Read(a,b,c) __input_Read(VLC_OBJECT(a),b, c)
VLC_EXPORT
(
int
,
__input_Read
,
(
vlc_object_t
*
,
input_item_t
*
,
bool
)
);
...
...
src/input/input.c
View file @
60411529
...
...
@@ -412,13 +412,13 @@ int __input_Read( vlc_object_t *p_parent, input_item_t *p_item,
/**
* Initialize an input and initialize it to preparse the item
* This function is blocking. It will only accept
to parse files
* 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
)
int
input_Preparse
(
vlc_object_t
*
p_parent
,
input_item_t
*
p_item
)
{
input_thread_t
*
p_input
;
...
...
src/input/input_interface.h
View file @
60411529
...
...
@@ -38,6 +38,8 @@ void input_item_SetPreparsed( input_item_t *p_i, bool b_preparsed );
void
input_item_SetArtNotFound
(
input_item_t
*
p_i
,
bool
b_not_found
);
void
input_item_SetArtFetched
(
input_item_t
*
p_i
,
bool
b_art_fetched
);
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
);
...
...
src/libvlccore.sym
View file @
60411529
...
...
@@ -182,7 +182,6 @@ input_item_SetMeta
input_item_SetName
input_item_SetURI
input_MetaTypeToLocalizedString
__input_Preparse
__input_Read
input_SplitMRL
input_StopThread
...
...
src/playlist/preparser.c
View file @
60411529
...
...
@@ -127,7 +127,7 @@ static void Preparse( playlist_t *p_playlist, input_item_t *p_item )
/* Do not preparse if it is already done (like by playing it) */
if
(
!
input_item_IsPreparsed
(
p_item
)
)
{
input_Preparse
(
p_playlist
,
p_item
);
input_Preparse
(
VLC_OBJECT
(
p_playlist
)
,
p_item
);
input_item_SetPreparsed
(
p_item
,
true
);
var_SetInteger
(
p_playlist
,
"item-change"
,
p_item
->
i_id
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment