[MPlayer-cvslog] CVS: main/libvo vo_dfbmga.c,1.28,1.29

Alban Bedel albeu at free.fr
Wed Oct 26 17:13:53 CEST 2005


On Wed, 26 Oct 2005 16:35:11 +0200
Reimar Döffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> wrote:

> Hi,
> On Wed, Oct 26, 2005 at 04:18:35PM +0200, Reimar Döffinger wrote:
> > IMHO mp_input_queue_cmd is the function to use.
> 
> Sorry, I meant it like this:
> mp_input_queue_cmd(mp_input_parse_cmd("pause")) - at least if you do
> _not_ want the user to be able to remap this.
> E.g. vo_directx.c uses this to handle when you click the close button of
> the window.

Yep, it's a possibility too. But vo should avoid using the libinput stuff
directly. It bring a useless dependency and in most case simple keycodes
are enouth. So imho vo_directx should be changed too and use a "close window"
keycode instead.

	Albeu




More information about the MPlayer-cvslog mailing list