Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
e8ceb0e1
Commit
e8ceb0e1
authored
Feb 12, 2001
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed enhancement because of an incompatibility with slow motion.
parent
991b8fc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
src/video_parser/vpar_synchro.c
src/video_parser/vpar_synchro.c
+8
-2
No files found.
src/video_parser/vpar_synchro.c
View file @
e8ceb0e1
...
...
@@ -2,7 +2,7 @@
* vpar_synchro.c : frame dropping routines
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* $Id: vpar_synchro.c,v 1.8
4 2001/02/12 13:20:15
massiot Exp $
* $Id: vpar_synchro.c,v 1.8
5 2001/02/12 18:18:18
massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Samuel Hocevar <sam@via.ecp.fr>
...
...
@@ -441,7 +441,9 @@ void vpar_SynchroNewPicture( vpar_thread_t * p_vpar, int i_coding_type,
{
mtime_t
period
=
1000000
*
1001
/
p_vpar
->
sequence
.
i_frame_rate
*
p_vpar
->
sequence
.
i_current_rate
/
DEFAULT_RATE
;
#if 0
mtime_t now = mdate();
#endif
switch
(
i_coding_type
)
{
...
...
@@ -572,6 +574,8 @@ void vpar_SynchroNewPicture( vpar_thread_t * p_vpar, int i_coding_type,
}
#undef PTS_THRESHOLD
#if 0
/* Removed for incompatibility with slow motion */
if( p_vpar->synchro.current_pts + DEFAULT_PTS_DELAY < now )
{
/* We cannot be _that_ late, something must have happened, reinit
...
...
@@ -580,11 +584,13 @@ void vpar_SynchroNewPicture( vpar_thread_t * p_vpar, int i_coding_type,
now - p_vpar->synchro.current_pts - DEFAULT_PTS_DELAY );
p_vpar->synchro.current_pts = now + DEFAULT_PTS_DELAY;
}
if
(
p_vpar
->
synchro
.
backward_pts
+
DEFAULT_PTS_DELAY
<
now
)
if( p_vpar->synchro.backward_pts
&& p_vpar->synchro.backward_pts + DEFAULT_PTS_DELAY < now )
{
/* The same. */
p_vpar->synchro.backward_pts = 0;
}
#endif
#ifdef STATS
p_vpar
->
synchro
.
i_pic
++
;
...
...
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