From 74f5cc0d39aa69013970c6ccfcb85a46d2bc3d0e Mon Sep 17 00:00:00 2001 From: nick Date: Wed, 16 Jan 2002 09:18:43 +0000 Subject: [PATCH] Fixed resize bug. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4195 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_xvidix.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/libvo/vo_xvidix.c b/libvo/vo_xvidix.c index c57066941e..013be5163f 100644 --- a/libvo/vo_xvidix.c +++ b/libvo/vo_xvidix.c @@ -74,6 +74,10 @@ static void resize(int x, int y) if ((window_x != drwcX) || (window_y != drwcY) || (window_width != drwWidth) || (window_height != drwHeight)) { + window_x = drwcX; + window_y = drwcY; + window_width = drwWidth; + window_height = drwHeight; /* FIXME: implement runtime resize/move if possible, this way is very ugly! */ vidix_term(); vidix_preinit(vidix_name, &video_out_xvidix); @@ -90,11 +94,6 @@ static void resize(int x, int y) } } - window_x = drwcX; - window_y = drwcY; - window_width = drwWidth; - window_height = drwHeight; - mp_msg(MSGT_VO, MSGL_INFO, "[xvidix] window properties: pos: %dx%d, size: %dx%d\n", window_x, window_y, window_width, window_height);