summaryrefslogtreecommitdiff
path: root/libavfilter/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/video.c')
-rw-r--r--libavfilter/video.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/video.c b/libavfilter/video.c
index dfcfbb7387..dce3478ea5 100644
--- a/libavfilter/video.c
+++ b/libavfilter/video.c
@@ -164,6 +164,8 @@ static void default_start_frame(AVFilterLink *inlink, AVFilterBufferRef *picref)
if (outlink) {
outlink->out_buf = ff_get_video_buffer(outlink, AV_PERM_WRITE, outlink->w, outlink->h);
avfilter_copy_buffer_ref_props(outlink->out_buf, picref);
+ outlink->out_buf->video->w = outlink->w;
+ outlink->out_buf->video->h = outlink->h;
ff_start_frame(outlink, avfilter_ref_buffer(outlink->out_buf, ~0));
}
}