diff options
Diffstat (limited to 'libvo/vo_xmga.c')
-rw-r--r-- | libvo/vo_xmga.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libvo/vo_xmga.c b/libvo/vo_xmga.c index 31934fdaa3..abf37b3bff 100644 --- a/libvo/vo_xmga.c +++ b/libvo/vo_xmga.c @@ -134,6 +134,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, vo_panscan_x = vo_panscan_y = vo_panscan_amount = 0; + 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, @@ -171,8 +172,6 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, inited = 1; - aspect(&d_width, &d_height, A_NOZOOM); - #ifdef HAVE_NEW_GUI if (use_gui) guiGetEvent(guiSetShVideo, 0); // the GUI will set up / resize the window |