28 Dec
2004
28 Dec
'04
9:27 p.m.
Hi, 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)