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
c0c6130d
Commit
c0c6130d
authored
Jul 28, 2003
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fixed my last commit.
parent
f61cc2fd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/input/input_clock.c
src/input/input_clock.c
+4
-3
No files found.
src/input/input_clock.c
View file @
c0c6130d
...
...
@@ -2,7 +2,7 @@
* input_clock.c: Clock/System date convertions, stream management
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: input_clock.c,v 1.3
8 2003/07/27 14:10:02
massiot Exp $
* $Id: input_clock.c,v 1.3
9 2003/07/28 13:19:37
massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -98,7 +98,8 @@ static mtime_t ClockToSysdate( input_thread_t * p_input,
i_sysdate
/=
1000
;
i_sysdate
+=
(
mtime_t
)
p_pgrm
->
sysdate_ref
;
if
(
i_sysdate
<
mdate
()
-
CR_MAX_GAP
)
if
(
i_sysdate
<
mdate
()
-
CR_MAX_GAP
||
i_sysdate
>
mdate
()
+
CR_MAX_GAP
)
{
msg_Warn
(
p_input
,
"Bogus clock encountered, resetting"
);
ClockNewRef
(
p_pgrm
,
i_clock
,
i_sysdate
=
mdate
()
);
...
...
@@ -277,7 +278,7 @@ void input_ClockManageRef( input_thread_t * p_input,
{
/* Wait a while before delivering the packets to the decoder.
* In case of multiple programs, we arbitrarily follow the
* clock of the
first
program. */
* clock of the
selected
program. */
mwait
(
ClockToSysdate
(
p_input
,
p_pgrm
,
i_clock
)
);
/* Now take into account interface changes. */
...
...
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