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
6bd81eee
Commit
6bd81eee
authored
Jan 13, 2005
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/input/es_out.c: EN 300 472 allows the PTS of teletext streams to be
invalid.
parent
024fa1c4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
src/input/es_out.c
src/input/es_out.c
+11
-0
No files found.
src/input/es_out.c
View file @
6bd81eee
...
...
@@ -754,6 +754,17 @@ static int EsOutSend( es_out_t *out, es_out_id_t *es, block_t *p_block )
p_block
->
i_pts
=
input_ClockGetTS
(
p_input
,
&
p_pgrm
->
clock
,
(
p_block
->
i_pts
+
11
)
*
9
/
100
)
+
i_delay
;
if
(
es
->
fmt
.
i_codec
==
VLC_FOURCC
(
't'
,
'e'
,
'l'
,
'x'
)
)
{
mtime_t
current_date
=
mdate
();
if
(
p_block
->
i_pts
>
current_date
+
10000000
||
current_date
>
p_block
->
i_pts
)
{
/* ETSI EN 300 472 Annex A : do not take into account the PTS
* for teletext streams. */
p_block
->
i_pts
=
current_date
+
p_input
->
i_pts_delay
+
i_delay
;
}
}
}
p_block
->
i_rate
=
p_input
->
i_rate
;
...
...
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