summaryrefslogtreecommitdiffstats
path: root/video/filter/vf.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/filter/vf.c')
-rw-r--r--video/filter/vf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/filter/vf.c b/video/filter/vf.c
index f074c2059b..85a03cfa85 100644
--- a/video/filter/vf.c
+++ b/video/filter/vf.c
@@ -155,6 +155,7 @@ static void vf_fix_img_params(struct mp_image *img, struct mp_image_params *p)
img->colorspace = p->colorspace;
img->levels = p->colorlevels;
img->chroma_location = p->chroma_location;
+ mp_image_set_display_size(img, p->d_w, p->d_h);
}
// Get a new image for filter output, with size and pixel format according to