[Mplayer-cvslog] CVS: main/libvo vo_x11.c,1.108,1.109

Alban Bedel CVS albeu at mplayerhq.hu
Fri May 24 23:58:08 CEST 2002


Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv3029/libvo

Modified Files:
	vo_x11.c 
Log Message:
Destroy the old win when config is called multiple times


Index: vo_x11.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_x11.c,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -r1.108 -r1.109
--- vo_x11.c	14 May 2002 23:44:35 -0000	1.108
+++ vo_x11.c	24 May 2002 21:58:05 -0000	1.109
@@ -288,7 +288,12 @@
   else
 #endif   
    {
- 
+     if(vo_window != None) {
+       freeMyXImage();
+       XUnmapWindow( mDisplay,vo_window );
+       XDestroyWindow(mDisplay, vo_window);
+     }
+
 #ifdef HAVE_XF86VM
     if ( vm )
    {




More information about the MPlayer-cvslog mailing list