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
2713a722
Commit
2713a722
authored
Jun 06, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input: Explain a bit more how --auto-adjust-pts-delay works.
parent
ea89b9c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
src/input/decoder.c
src/input/decoder.c
+8
-1
No files found.
src/input/decoder.c
View file @
2713a722
...
@@ -759,7 +759,14 @@ static void optimize_video_pts( decoder_t *p_dec )
...
@@ -759,7 +759,14 @@ static void optimize_video_pts( decoder_t *p_dec )
* This first draft is way to simple, and we can't say if the
* This first draft is way to simple, and we can't say if the
* algo will converge. It's also full of constants.
* algo will converge. It's also full of constants.
* But this simple algo allows to reduce the latency
* But this simple algo allows to reduce the latency
* to the minimum. */
* to the minimum.
* The whole point of this, is to bypass the pts_delay set
* by the access but also the delay arbitraly set by
* the remote server.
* Actually the remote server's muxer may set up a
* pts<->dts delay in the muxed stream. That is
* why we may end up in having a negative pts_delay,
* to compensate that artificial delay. */
mtime_t
buffer_size
=
youngest_pict
->
date
-
oldest_pict
->
date
;
mtime_t
buffer_size
=
youngest_pict
->
date
-
oldest_pict
->
date
;
int64_t
pts_slide
=
0
;
int64_t
pts_slide
=
0
;
if
(
buffer_size
<
10000
)
if
(
buffer_size
<
10000
)
...
...
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