summaryrefslogtreecommitdiffstats
path: root/video/out/vo_xv.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_xv.c')
-rw-r--r--video/out/vo_xv.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/video/out/vo_xv.c b/video/out/vo_xv.c
index 8f652d991b..731710d0af 100644
--- a/video/out/vo_xv.c
+++ b/video/out/vo_xv.c
@@ -650,9 +650,7 @@ static mp_image_t *get_screenshot(struct vo *vo)
if (!ctx->original_image)
return NULL;
- struct mp_image *res = mp_image_new_ref(ctx->original_image);
- mp_image_set_display_size(res, vo->aspdat.prew, vo->aspdat.preh);
- return res;
+ return mp_image_new_ref(ctx->original_image);
}
static void draw_image(struct vo *vo, mp_image_t *mpi)