[Mplayer-cvslog] CVS: main/libvo vo_xvidix.c,1.5,1.6
Nick Kurshev
nick at mplayer.dev.hu
Wed Jan 16 10:18:46 CET 2002
Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv2692/main/libvo
Modified Files:
vo_xvidix.c
Log Message:
Fixed resize bug.
Index: vo_xvidix.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xvidix.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- vo_xvidix.c 13 Jan 2002 10:40:17 -0000 1.5
+++ vo_xvidix.c 16 Jan 2002 09:18:43 -0000 1.6
@@ -74,6 +74,10 @@
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);
@@ -89,11 +93,6 @@
y = window_height;
}
}
-
- 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);
More information about the MPlayer-cvslog
mailing list