[MPlayer-dev-eng] Re: [PATCH] Let vo directx survive screensaver
Zuxy Meng
zuxy.meng at gmail.com
Sat Dec 2 16:58:26 CET 2006
Hi,
2006/12/2, Sascha Sommer <saschasommer at freenet.de>:
> Hi,
>
> but then something is broken because the codec will render to a invalid
> buffer.
How? "image" is a static variable and all external accesses to it have
been guarded in my patch.
> Please try the attached patch, eh hack.
The net effect is nearly identical to mine; no segfaults any more:-)
However there are two small pitfalls:
1. If mplayer is the activated window before screensaving, then after
recovered from screensaver mplayer will always be set on top
regardless of previous settings. I guess you asked me about a line in
my patch related to this:-)
2. If mplayer isn't the activated window before screensaving, then
after recovered from screensaver mplayer will have a black window; you
have to activate it to see video come back again.
BTW: maybe the error message about rendering to a hidden surface can
be shown only once instead of flushing the console.
--
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6
More information about the MPlayer-dev-eng
mailing list