diff options
Diffstat (limited to 'video/out/vo_image.c')
-rw-r--r-- | video/out/vo_image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/vo_image.c b/video/out/vo_image.c index 76adf5a665..e4d8636038 100644 --- a/video/out/vo_image.c +++ b/video/out/vo_image.c @@ -101,8 +101,8 @@ static uint32_t draw_image(struct vo *vo, mp_image_t *mpi) struct priv *p = vo->priv; mp_image_t img = *mpi; - img.width = p->d_width; - img.height = p->d_height; + img.display_w = p->d_width; + img.display_h = p->d_height; mp_image_set_colorspace_details(&img, &p->colorspace); void *t = talloc_new(NULL); |