summaryrefslogtreecommitdiffstats
path: root/video/out/vo_x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_x11.c')
-rw-r--r--video/out/vo_x11.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/video/out/vo_x11.c b/video/out/vo_x11.c
index 21da245b2c..95f4ba299c 100644
--- a/video/out/vo_x11.c
+++ b/video/out/vo_x11.c
@@ -440,9 +440,7 @@ static mp_image_t *get_screenshot(struct vo *vo)
if (!p->original_image)
return NULL;
- struct mp_image *res = mp_image_new_ref(p->original_image);
- mp_image_set_display_size(res, vo->aspdat.prew, vo->aspdat.preh);
- return res;
+ return mp_image_new_ref(p->original_image);
}
static void wait_for_completion(struct vo *vo, int max_outstanding)