changeset 6015:04fe086ae486

vo_uninit fixed
author arpi
date Wed, 08 May 2002 19:21:36 +0000
parents 4f0b13262397
children be9cd7d845c2
files mplayer.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Wed May 08 18:00:26 2002 +0000
+++ b/mplayer.c	Wed May 08 19:21:36 2002 +0000
@@ -354,7 +354,9 @@
 void exit_player(char* how){
 
   uninit_player(INITED_ALL);
-  vo_uninit();
+#ifdef X11_FULLSCREEN
+  vo_uninit();	// close the X11 connection (if any opened)
+#endif
 
   current_module="exit_player";