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
9ac9b010
Commit
9ac9b010
authored
Mar 14, 2001
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Tried to fix the "stream jumps at will" bug.
parent
e7bfa12b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
src/input/input_clock.c
src/input/input_clock.c
+7
-7
No files found.
src/input/input_clock.c
View file @
9ac9b010
...
...
@@ -2,7 +2,7 @@
* input_clock.c: Clock/System date convertions, stream management
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* $Id: input_clock.c,v 1.
7 2001/02/22 17:00:20
massiot Exp $
* $Id: input_clock.c,v 1.
8 2001/03/14 00:40:24
massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -89,12 +89,12 @@ static mtime_t ClockToSysdate( input_thread_t * p_input,
if
(
p_pgrm
->
i_synchro_state
==
SYNCHRO_OK
)
{
i_sysdate
=
(
i_clock
-
p_pgrm
->
cr_ref
)
*
p_input
->
stream
.
control
.
i_rate
*
300
/
27
/
DEFAULT_RATE
+
p_pgrm
->
sysdate_ref
;
i_sysdate
=
(
mtime_t
)(
i_clock
-
p_pgrm
->
cr_ref
)
*
(
mtime_t
)
p_input
->
stream
.
control
.
i_rate
*
(
mtime_t
)
300
/
(
mtime_t
)
27
/
(
mtime_t
)
DEFAULT_RATE
+
(
mtime_t
)
p_pgrm
->
sysdate_ref
;
}
return
(
i_sysdate
);
...
...
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