diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-04-26 23:52:22 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-04-26 23:55:04 +0200 |
commit | 075933a0687974fca74d6d4ac388d24766d8dc78 (patch) | |
tree | 22488fc965b6c801bab4f8250e63b76a6922566f | |
parent | 75cf2602c74c3e9794620048ad841a5b18219db5 (diff) | |
download | ffmpeg-075933a0687974fca74d6d4ac388d24766d8dc78.tar.gz |
vsrc_buffer: 10l mixed up input & output sizes. (funnily this worked 99% of the time) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavfilter/vsrc_buffer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vsrc_buffer.c b/libavfilter/vsrc_buffer.c index 64cb030c8c..72ee99f123 100644 --- a/libavfilter/vsrc_buffer.c +++ b/libavfilter/vsrc_buffer.c @@ -85,6 +85,7 @@ int av_vsrc_buffer_add_frame2(AVFilterContext *buffer_filter, AVFrame *frame, scale->outputs[0]->format= c->pix_fmt; } else if(!strcmp(scale->filter->name, "scale")) { + snprintf(c->sws_param, 255, "%d:%d:%s", scale->outputs[0]->w, scale->outputs[0]->h, sws_param); scale->filter->init(scale, c->sws_param, NULL); } |