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
b4938f0e
Commit
b4938f0e
authored
Jan 20, 2005
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/input/es_out.c: Improved the kludge for teletext streams without
appropriate PTS.
parent
f8ddfa91
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
src/input/es_out.c
src/input/es_out.c
+11
-9
No files found.
src/input/es_out.c
View file @
b4938f0e
...
...
@@ -754,16 +754,18 @@ 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'
)
)
}
if
(
es
->
fmt
.
i_codec
==
VLC_FOURCC
(
't'
,
'e'
,
'l'
,
'x'
)
)
{
mtime_t
current_date
=
mdate
();
if
(
!
p_block
->
i_pts
||
p_block
->
i_pts
>
current_date
+
10000000
||
current_date
>
p_block
->
i_pts
)
{
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
;
}
/* ETSI EN 300 472 Annex A : do not take into account the PTS
* for teletext streams. */
p_block
->
i_pts
=
current_date
+
400000
+
p_input
->
i_pts_delay
+
i_delay
;
}
}
...
...
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