[FFmpeg-devel] [PATCH 3/3] ffplay: increase maximum frame duration to 1 hour
Marton Balint
cus at passwd.hu
Sun Nov 25 20:01:23 CET 2012
Partially fixes ticket #1707. A-V sync still needs some work after seeking...
Signed-off-by: Marton Balint <cus at passwd.hu>
---
ffplay.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ffplay.c b/ffplay.c
index a3bda0e..c0f0c30 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1318,7 +1318,7 @@ retry:
/* compute nominal last_duration */
last_duration = vp->pts - is->frame_last_pts;
- if (last_duration > 0 && last_duration < 10.0) {
+ if (last_duration > 0 && last_duration < 3600.0) {
/* if duration of the last frame was sane, update last_duration in video state */
is->frame_last_duration = last_duration;
}
--
1.7.10.4
More information about the ffmpeg-devel
mailing list