Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
855c0ab2
Commit
855c0ab2
authored
Jan 07, 2010
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
meta reader: Always run if we don't have meta from access or demux.
parent
edd9673a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
src/input/input.c
src/input/input.c
+11
-7
No files found.
src/input/input.c
View file @
855c0ab2
...
@@ -2747,18 +2747,22 @@ static void InputSourceMeta( input_thread_t *p_input,
...
@@ -2747,18 +2747,22 @@ static void InputSourceMeta( input_thread_t *p_input,
/* XXX Remember that checking against p_item->p_meta->i_status & ITEM_PREPARSED
/* XXX Remember that checking against p_item->p_meta->i_status & ITEM_PREPARSED
* is a bad idea */
* is a bad idea */
bool
has_meta
;
/* Read access meta */
/* Read access meta */
if
(
p_access
)
if
(
p_access
)
access_Control
(
p_access
,
ACCESS_GET_META
,
p_meta
);
has_meta
=
!
access_Control
(
p_access
,
ACCESS_GET_META
,
p_meta
);
/* Read demux meta */
/* Read demux meta */
demux_Control
(
p_demux
,
DEMUX_GET_META
,
p_meta
)
;
has_meta
=
(
!
demux_Control
(
p_demux
,
DEMUX_GET_META
,
p_meta
))
||
has_meta
;
/* If the demux report unsupported meta data, try an external "meta reader" */
bool
has_unsupported
;
bool
b_bool
;
if
(
demux_Control
(
p_demux
,
DEMUX_HAS_UNSUPPORTED_META
,
&
has_unsupported
)
)
if
(
demux_Control
(
p_demux
,
DEMUX_HAS_UNSUPPORTED_META
,
&
b_bool
)
)
has_unsupported
=
true
;
return
;
if
(
!
b_bool
)
/* If the demux report unsupported meta data, or if we don't have meta data
* try an external "meta reader" */
if
(
has_meta
&&
!
has_unsupported
)
return
;
return
;
demux_meta_t
*
p_demux_meta
=
demux_meta_t
*
p_demux_meta
=
...
...
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