Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
fe54ba9c
Commit
fe54ba9c
authored
Apr 30, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check for broken PCR value in es_out.
It will prevent #2706 from broken demuxer/streams.
parent
4ec5f67a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/input/es_out.c
src/input/es_out.c
+6
-0
No files found.
src/input/es_out.c
View file @
fe54ba9c
...
...
@@ -2227,6 +2227,12 @@ static int EsOutControlLocked( es_out_t *out, int i_query, va_list args )
return
VLC_EGENERIC
;
i_pcr
=
(
int64_t
)
va_arg
(
args
,
int64_t
);
if
(
i_pcr
<=
VLC_TS_INVALID
)
{
msg_Err
(
p_sys
->
p_input
,
"Invalid PCR value in ES_OUT_SET_(GROUP_)PCR !"
);
return
VLC_EGENERIC
;
}
/* search program
* TODO do not use mdate() but proper stream acquisition date */
input_clock_Update
(
p_pgrm
->
p_clock
,
VLC_OBJECT
(
p_sys
->
p_input
),
...
...
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