aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-04-26 18:17:20 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-04-26 18:17:20 +0200
commitdc1de56948960bea12a8b6c1aa77398308bec358 (patch)
treea2f7f6fa03b3e3fcdc8e3b425208d86e1cbf73d6
parenta38cdfde5285700fc8a4db3592f9cca287079265 (diff)
downloadffmpeg-dc1de56948960bea12a8b6c1aa77398308bec358.tar.gz
vsrc_buffer: set output timebase when output equalization is done
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavfilter/vsrc_buffer.c1
1 files changed, 1 insertions, 0 deletions
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;
}