From dc1de56948960bea12a8b6c1aa77398308bec358 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 26 Apr 2011 18:17:20 +0200 Subject: [PATCH] vsrc_buffer: set output timebase when output equalization is done Signed-off-by: Michael Niedermayer --- libavfilter/vsrc_buffer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/vsrc_buffer.c b/libavfilter/vsrc_buffer.c index 797cc986fa..f0904ff1e9 100644 --- a/libavfilter/vsrc_buffer.c +++ b/libavfilter/vsrc_buffer.c @@ -81,6 +81,7 @@ int av_vsrc_buffer_add_frame2(AVFilterContext *buffer_filter, AVFrame *frame, avfilter_free(scale); return ret; } + scale->outputs[0]->time_base = scale->inputs[0]->time_base; scale->outputs[0]->format= c->pix_fmt; }