From ec5ace7dc9c4e1a953c2ad980bd13efaf675043f Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Thu, 2 Jun 2011 17:26:45 +0200 Subject: [PATCH] Reset hurry_up to 0 after we acquired a frame with known PTS --- src/transcode.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/transcode.c b/src/transcode.c index a4e96dc9..4c45b78b 100644 --- a/src/transcode.c +++ b/src/transcode.c @@ -305,6 +305,8 @@ transcode_seek(struct transcode_ctx *ctx, int ms) break; } + ctx->acodec->hurry_up = 0; + /* Error while reading frame above */ if (flags) return -1;