[MPlayer-dev-eng] Fixing screensaver disabling in vo_sdl, removing saver_on/off from x11_common.h?
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Mon Jul 5 17:22:05 CEST 2004
Hi,
vo_sdl uses saver_off to disable the screensaver, but this can't work as
saver_heartbeat that keeps it off uses the display opened by vo_init
instead of the one passed to saver_off.
The simplest fix to this seems to be using vo_init and vo_x11_uninit in
vo_sdl, with the side-effect of removing duplicate code.
Also, as this proves that saver_on and saver_off don't work stand-alone
anymore, I'd suggest removing the Display parameter from both, and even
removing them from x11_common.h, but this is not part of this patch.
Greetings,
Reimar Döffinger
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: scr-test2.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040705/dd8bbd84/attachment.asc>
More information about the MPlayer-dev-eng
mailing list