[MPlayer-dev-eng] /dev/dsp and xscreensaver fix

Jindrich Makovicka makovick at kmlinux.fjfi.cvut.cz
Fri Mar 7 10:37:45 CET 2003


Tobias Geiger wrote:

>
> Hi,
>
> me and a friend managed to fix the problem with xscreensaver having
> /dev/dsp after mplayer is finished.
>
> mplayer fails to close fds before executing the "xscreensaver" command,
> therefore /dev/dsp stays open.

This looks like a pretty dirty hack to me. In ao_oss.c, audio file 
descriptor is set to close on exec, so it shouldn't be inherited in any 
way. Just to be sure, I verified it using fuser and it's ok.

-- 
Jindrich Makovicka




More information about the MPlayer-dev-eng mailing list