OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4941078
)
Do not force last delay value to its own value.
author
Tomer Barletz
<barlety@gmail.com>
Wed, 18 Feb 2009 15:23:05 +0000
(15:23 +0000)
committer
Benoit Fouet
<benoit.fouet@free.fr>
Wed, 18 Feb 2009 15:23:05 +0000
(15:23 +0000)
Adapted from a patch by Tomer Barletz: surname chez gmail
Originally committed as revision 17432 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffplay.c
patch
|
blob
|
history
diff --git
a/ffplay.c
b/ffplay.c
index
df22b1b
..
8a7fca8
100644
(file)
--- a/
ffplay.c
+++ b/
ffplay.c
@@
-1014,8
+1014,9
@@
static double compute_frame_delay(double frame_current_pts, VideoState *is)
if (delay <= 0 || delay >= 10.0) {
/* if incorrect delay, use previous one */
delay = is->frame_last_delay;
- }
+ }
else {
is->frame_last_delay = delay;
+ }
is->frame_last_pts = frame_current_pts;
/* update delay to follow master synchronisation source */