[MPlayer-dev-eng] solved: mplayer crashes for multiple file list

Nilmoni Deb ndeb at ece.cmu.edu
Sat May 4 20:15:29 CEST 2002


Hello all,
	This post includes a fix for the problem described in the posts:
http://www.mplayerhq.hu/pipermail/mplayer-users/2002-May/014406.html
http://www.mplayerhq.hu/pipermail/mplayer-users/2002-May/014441.html
http://www.mplayerhq.hu/pipermail/mplayer-users/2002-May/014444.html

This problem is reproducible with the xv driver (-vo xv) if u:

1. configure with --enable-gui
2. do _not_ run mplayer with gui

Here's the patch w.r.t cvs version 1.79 of main/libvo/vo_xv.c ->

diff -uNr vo_xv.c vo_xv.c.new
--- vo_xv.c     Sat May  4 14:01:22 2002
+++ vo_xv.c.new Sat May  4 14:04:39 2002
@@ -451,7 +451,7 @@
      }
 #endif
 #ifdef HAVE_NEW_GUI
-  } else guiGetEvent( guiSetShVideo,0 );
+  } else if(use_gui) guiGetEvent( guiSetShVideo,0 );
 #endif
 
      mp_msg(MSGT_VO,MSGL_V, "using Xvideo port %d for hw
scaling\n",xv_port );



The gui functions should be called only when mplayer is being used in the
gui mode (besides the obvious condition that HAVE_NEW_GUI is defined).

thanks
- Nil




More information about the MPlayer-dev-eng mailing list