[MPlayer-users] Fwd: Re: [MPlayer-dev-eng] [PATCH] xvidix set_window fix
Arpi
arpi at thot.banki.hu
Tue Jun 4 01:09:02 CEST 2002
the fix for xvidix purple window issues
--------- Forwarded message ---------
From: Attila Kinali <kinali at gmx.net>
To: mplayer-dev-eng at mplayerhq.hu
Subject: Re: [MPlayer-dev-eng] [PATCH] xvidix set_window fix
This is a multi-part message in MIME format.
On Mon, 3 Jun 2002 20:51:09 +0200
Attila Kinali <kinali at gmx.net> wrote:
> if noone has something against it, i'll commit it.
Well.... ;-)
Attila Kinali
--
Israel, where the first genocide of this century takes place.
--- main/libvo/vo_xvidix.c Wed May 15 22:40:21 2002
+++ xvidix/libvo/vo_xvidix.c Mon Jun 3 20:33:48 2002
@@ -67,6 +67,7 @@
static uint32_t image_depth;
/* Window parameters */
+static uint32_t window_x, window_y;
static uint32_t window_width, window_height;
/* used by XGetGeometry & XTranslateCoordinates for moving/resizing window
*/
@@ -135,9 +136,12 @@
#endif
/* set new values in VIDIX */
- if (force_update || (vo_dx != drwcX) || (vo_dy != drwcY) ||
+ if (force_update || (window_x != drwcX) || (window_y != drwcY) ||
(window_width != drwWidth) || (window_height != drwHeight))
{
+ // do a backup of window coordinates
+ window_x = drwcX;
+ window_y = drwcY;
vo_dx = drwcX;
vo_dy = drwcY;
window_width = drwWidth;
window_width = drwWidth
window_width = drwWidth
More information about the MPlayer-users
mailing list