Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
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
Show 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 )
...
@@ -2227,6 +2227,12 @@ static int EsOutControlLocked( es_out_t *out, int i_query, va_list args )
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
i_pcr
=
(
int64_t
)
va_arg
(
args
,
int64_t
);
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
/* search program
* TODO do not use mdate() but proper stream acquisition date */
* TODO do not use mdate() but proper stream acquisition date */
input_clock_Update
(
p_pgrm
->
p_clock
,
VLC_OBJECT
(
p_sys
->
p_input
),
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