[MPlayer-users] /dev/dsp not closed?

Arpi arpi at thot.banki.hu
Thu Sep 5 12:28:02 CEST 2002


> > actually we need a better way to stop/restart xscreensaver than the current
> > hack, but unfortunatelly teh xscreensaver author doesn't support any
> > acceptable method to control his mess. he wants the video players to run a
> > dedicated thread just to 'ping' the screensaver by executing a shell comamnd
> > every minute. we cannot accept this method and he doesn't accept others.
> Could we just add close-on-exec flag to the dsp file descriptor as a
> stupid workaround for now?

is it portable?
yes, we should do that for all fd's.

does it have effect on fork() too?
(-cache uses fork)

> Also I like the idea of sending SIGSTOP and SIGCONT to the process...

feel free to change
i hate all this xscreensaver mess and would kill teh author of it

A'rpi / Astral & ESP-team

Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu

More information about the MPlayer-users mailing list