From 6d2e21b2735098d4491ad5c47fdb6f2d2a770c37 Mon Sep 17 00:00:00 2001 From: atmos4 Date: Mon, 13 Jan 2003 01:20:21 +0000 Subject: [PATCH] 10l, init priv->X at right place git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8936 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvo/vo_sdl.c b/libvo/vo_sdl.c index 958514a706..5b0e9c5607 100644 --- a/libvo/vo_sdl.c +++ b/libvo/vo_sdl.c @@ -834,7 +834,6 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin aspect_save_prescale(d_width ? d_width : width, d_height ? d_height : height); /* Save the original Image size */ - priv->X = 0; priv->width = width; priv->height = height; priv->dstwidth = d_width ? d_width : width; @@ -1609,6 +1608,7 @@ static uint32_t preinit(const char *arg) SDL_VideoDriverName(priv->driver, 8); printf("SDL: Using driver: %s\n", priv->driver); + priv->X = 0; #ifdef HAVE_X11 XDisplay = XOpenDisplay(NULL); if(XDisplay) {