[FFmpeg-devel] [PATCH 06/15] lavfi/vf_fps: remove looping on request_frame().
Nicolas George
george at nsup.org
Fri Oct 2 17:13:17 CEST 2015
Signed-off-by: Nicolas George <george at nsup.org>
---
libavfilter/vf_fps.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavfilter/vf_fps.c b/libavfilter/vf_fps.c
index 6154f6d..0f0ed24 100644
--- a/libavfilter/vf_fps.c
+++ b/libavfilter/vf_fps.c
@@ -129,8 +129,7 @@ static int request_frame(AVFilterLink *outlink)
int frames_out = s->frames_out;
int ret = 0;
- while (ret >= 0 && s->frames_out == frames_out)
- ret = ff_request_frame(ctx->inputs[0]);
+ ret = ff_request_frame(ctx->inputs[0]);
/* flush the fifo */
if (ret == AVERROR_EOF && av_fifo_size(s->fifo)) {
--
2.5.3
More information about the ffmpeg-devel
mailing list