summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_xv.c')
-rw-r--r--libvo/vo_xv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index ac199baf78..b50f1001e3 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -191,6 +191,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
visible_buf = -1;
update_xinerama_info();
+ aspect(&d_width, &d_height, A_NOZOOM);
vo_dx = (vo_screenwidth - d_width) / 2;
vo_dy = (vo_screenheight - d_height) / 2;
geometry(&vo_dx, &vo_dy, &d_width, &d_height, vo_screenwidth,
@@ -234,7 +235,6 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
{
hint.x = vo_dx;
hint.y = vo_dy;
- aspect(&d_width, &d_height, A_NOZOOM);
hint.width = d_width;
hint.height = d_height;
#ifdef HAVE_XF86VM