[MPlayer-users] Fwd: Slave mode does not qork!!! Help needed!
Bart van Deenen
bart.vandeenen at gmail.com
Thu Sep 25 15:26:15 CEST 2008
Hi
In the containing application, prevent your native window from getting focus.
Thats what I do from a java application: I create a java awt canvas, get its
native window id (via a JNI call), and pass that to mplayer. I disable the
focus for that canvas.
canvas.setFocusable(false);
Works like a charm, and is a much nicer solution than hacking around with the
keyboard list
Bart
More information about the MPlayer-users
mailing list