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
eee921c0
Commit
eee921c0
authored
May 31, 2005
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/input/input.c: Put less picky fallback values for pts_delay and
cr_average.
parent
93a0a44c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/input/input.c
src/input/input.c
+3
-3
No files found.
src/input/input.c
View file @
eee921c0
...
...
@@ -665,8 +665,8 @@ static int Init( input_thread_t * p_input, vlc_bool_t b_quick )
p_input
->
b_can_pause
=
p_input
->
input
.
b_can_pause
;
/* Fix pts delay */
if
(
p_input
->
i_pts_delay
<
=
0
)
p_input
->
i_pts_delay
=
DEFAULT_PTS_DELAY
;
if
(
p_input
->
i_pts_delay
<
0
)
p_input
->
i_pts_delay
=
0
;
/* If the desynchronisation requested by the user is < 0, we need to
* cache more data. */
...
...
@@ -676,7 +676,7 @@ static int Init( input_thread_t * p_input, vlc_bool_t b_quick )
/* Update cr_average depending on the caching */
p_input
->
input
.
i_cr_average
*=
(
10
*
p_input
->
i_pts_delay
/
200000
);
p_input
->
input
.
i_cr_average
/=
10
;
if
(
p_input
->
input
.
i_cr_average
<
=
0
)
p_input
->
input
.
i_cr_average
=
1
;
if
(
p_input
->
input
.
i_cr_average
<
10
)
p_input
->
input
.
i_cr_average
=
10
;
}
/* Load master infos */
...
...
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