[MPlayer-dev-eng] mouse autohide problem with asf (with suggestions)

Diego Biurrun diego at biurrun.de
Mon Jun 6 23:54:01 CEST 2005


On Tue, Dec 28, 2004 at 04:27:52PM -0500, st darg wrote:
> 
> I noticed when I play asf movies, the mouse autohiding doesn't work
> correctly on x11. The problem is that libmpdemux/demuxer.c (line 1272)
> is:
> 
>  sh_video->fps=1000.0f; sh_video->frametime=0.001f; // 1ms
> 
> Then in video.c, sh_video->fps is updated with the correct average frame rate.
> 
> However, vo_mouse_timer_const is only set one time, in mplayer.c, and
> the value it gets is 1000! Thus it takes ages for the mouse to hide.
> 
> Suggestion 1: add vo_mouse_timer_const = (int) sh_video->fps; to
> video.c, and also add int vo_mouse_timer_const; to mencoder (since
> otherwise the symbol is not found when linking mencoder)
> 
> Suggestion 2: add vo_mouse_timer_const = (int) sh_video->fps; to
> x11_common.c in the event handling function (where it's used)

I just stumbled across this one while going through my mailbox.  Is it
still an issue?  I faintly remember that something was done about ASF
files and hiding the mouse.

Diego




More information about the MPlayer-dev-eng mailing list