summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-08 19:21:36 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-08 19:21:36 +0000
commitb5322c7eb861d3dc67c4ec39f350d763b266fb84 (patch)
treea4bcabe5527d4cda0dd4e242981187558b374598 /mplayer.c
parent53dd3f560516e855915401ac497c0ccb47747799 (diff)
downloadmpv-b5322c7eb861d3dc67c4ec39f350d763b266fb84.tar.bz2
mpv-b5322c7eb861d3dc67c4ec39f350d763b266fb84.tar.xz
vo_uninit fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6016 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index 385e119c13..dd82f89f96 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -354,7 +354,9 @@ void uninit_player(unsigned int mask){
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";