projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acf24b8
)
Reset frame_last_delay to 0.
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 1 Feb 2010 12:31:28 +0000
(12:31 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 1 Feb 2010 12:31:28 +0000
(12:31 +0000)
This avoids a few ms delay for the first frame after a seek in theory.
Originally committed as revision 21592 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffplay.c
patch
|
blob
|
history
diff --git
a/ffplay.c
b/ffplay.c
index 206a763fb3a285e96c6c9636cc8038cf2b2f39ef..6bf76a7c6f794224ccfa7487975e07e56091e650 100644
(file)
--- a/
ffplay.c
+++ b/
ffplay.c
@@
-1363,7
+1363,7
@@
static int video_thread(void *arg)
is->last_dts_for_fault_detection=
is->last_pts_for_fault_detection= INT64_MIN;
is->frame_last_pts= AV_NOPTS_VALUE;
- is->frame_last_delay =
40e-3
;
+ is->frame_last_delay =
0
;
continue;
}