[MPlayer-dev-eng] [PATCH] fix for the fbdev/playlist bug

Roberto De Leo deleo at unica.it
Tue Feb 4 21:10:48 CET 2003


Hi,
this bug should fix the problem that makes mplayer crash when playing 
playlists with the fbdev driver.

Apparently the problem is that, after playing the first file, for some 
reason both tty and fbdev file descriptors are closed and therefore when 
mplayer tries to play the second one it does not find anywhere to send 
the images to. My solution is simply to reopen them every time MPlayer 
tries to play a new file. It would be probably nicer to convince mplayer 
not to close those but I have not enough time and experience to do it.

I'm sending you the same patch I sent to the mplayer-users list since I 
noticed that there has been no modification to vo_fbdev.c since the last 
stable edition.

BTW, in case you may find it useful, I noticed that if you redirect both 
STDIN and STDOUT to somewhere else, like /dev/null, then the positioning 
problems disappear.

Thanks a lot for this great project,
   Roberto De Leo
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mplayer-0.90rc3-fixfbdev.patch
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030204/7e58a5ef/attachment.asc>


More information about the MPlayer-dev-eng mailing list