[MPlayer-users] Mouse up events lost in DGA mode, making controls useless
Malcolm Smith
m.h.smith at ed.ac.uk
Tue Apr 29 14:27:02 CEST 2003
This applies to mplayer 0.90 in DGA mode. I also observed it in
0.90pre10.
The problem is that if I accidentally click a mouse button while playing
a movie through -vo dga, the movie keeps playing perfectly but the
controls become useless and there is no option except to wait for the
the file to end or hit the reset button. If playback was paused at the
time, even the first option is unavailable.
The output in the console afterwards indicates that mplayer is treating
the mouse button as a modifier but is not detecting the button release
events. None of the controls are therefore recognised:
VO: [dga] 640x480 => 640x480 Planar YV12
vo_dga: DGA 2.0 available :-) Can switch resolution AND depth!
vo_dga: Selected hardware mode 640 x 480 @ 85 Hz @ depth 24, bitspp
32.
vo_dga: Video parameters by codec: 640 x 480, depth 24, bitspp 32.
Using MMX2 for colorspace transform
A: 667.1 V: 667.1 A-V: 0.028 ct: 0.031 16678/16678 0% 0% 0.0% 0 0
0%
No bind found for key MOUSE_BTN0-LEFT 2.2% 6 0
0%
No bind found for key MOUSE_BTN0-RIGHT 2.2% 6 0
0%
No bind found for key MOUSE_BTN0-LEFT 2.1% 6 0
0%
No bind found for key MOUSE_BTN0-RIGHT 2.1% 6 0
0%
No bind found for key MOUSE_BTN0-ESC % 2.1% 6 0
0%
No bind found for key MOUSE_BTN0-ESC % 2.1% 6 0
0%
No bind found for key MOUSE_BTN0-ESC % 2.1% 6 0
0%
No bind found for key MOUSE_BTN0-UP 0% 2.1% 6 0
0%
No bind found for key MOUSE_BTN0-DOWN 2.1% 6 0
0%
No bind found for key MOUSE_BTN0-* 0% 2.1% 6 0
0%
No bind found for key MOUSE_BTN0-/ 0% 2.0% 6 0
0%
No bind found for key MOUSE_BTN0-+ 0% 2.0% 6 0
0%
No bind found for key MOUSE_BTN0-- 0% 2.0% 6 0
0%
No bind found for key MOUSE_BTN0-ESC % 2.0% 6 0
0%
a52: CRC check failed! 0.000 ct: 0.057 17006/17006 40% 0% 2.0% 6 0
0%
a52: error at resampling
A: 680.5 V: 680.5 A-V: 0.003 ct: 0.058 17013/17013 40% 0% 2.0% 6 0
0%
alsa-uninit: pcm closed
Exiting... (End of file)
This happens with mouse buttons 0, 1 and 2 (none of which are bound to
any function), but not 3 and 4 (the wheel), which I have configured to
act as a volume control using the following ~/.mplayer/input.conf:
MOUSE_BTN3 volume +1
MOUSE_BTN4 volume -1
Binding buttons 0, 1 and 2 to a function doesn't help, I still get
ridiculous messages like "No bind found for key
MOUSE_BTN0-MOUSE_BTN2-MOUSE_BTN1-MOUSE_BTN4".
Malcolm Smith
More information about the MPlayer-users
mailing list