[MPlayer-dev-eng] [PATCH] vo_wm_detect (third try)

Sergey Pinaev dfo at antex.ru
Tue Dec 17 18:00:11 CET 2002


hi.
third try to send fix for vo_wm_detect.
waiting for events to appear in "for(i=0;i<25;i++)" loop is _stupid_.
if window manager is busy doing some other things he may not send any
events while loop runs. and vo_wm_detect will return vo_wm_Unknown.
btw, waiting for 25 events || 4 seconds is stupid too, but i
cannot think of more "clean" solution...

-------------------------------------------------
Sergey Pinaev, dfo at antex.ru, http://dfo.antex.ru/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vo_wm_detect.patch
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20021217/f6369250/attachment.asc>


More information about the MPlayer-dev-eng mailing list