[MPlayer-dev-eng] Fix for Mplayer -slave mode
Mathieu SCHROETER
mathieu.schroeter at gamesover.ch
Sat Feb 7 17:23:59 CET 2009
Reimar Döffinger a écrit :
> On Fri, Feb 06, 2009 at 03:21:23PM -0500, Jesse L. Zamora wrote:
>> Here's a very small patch that fixes the -slave mode in Mplayer; when
>> Mplayer
>> is being used as a backend for an application and the user presses q or Esc,
>> Mplayer gets the key press and closes.
>
> Disabling input is not the purpose of -slave, it only enables command
> processing.
> A separate option similar to -noconsolecontrols but only for window
> input would be a possiblility, but better would probably be an option to
> disable the default key bindings.
> This also leads to the current solution others use: with
> -input conf=/.../input.conf
> provide a input.conf that removes all existing key bindings.
An other way is to use an InputOnly window over the window used
by MPlayer to catch all events (especially when MPlayer is used
with -wid argument).
Regards,
Mathieu SCHROETER
More information about the MPlayer-dev-eng
mailing list