[MPlayer-dev-eng] [PATCH-RFC] ""one input key more commands" feature for default key bindings

Vladimir Voroshilov voroshil at gmail.com
Thu Jul 19 14:43:54 CEST 2007


2007/7/19, Vladimir Voroshilov <voroshil at gmail.com>:
> Hi, All
>
> Nice feature, called "one input key more commands in m/l", is working
> only for input.conf file.
>
> I've made small patch to allow mplayer developers specify such
> default "section-related" key bindings (like "{tv} tv_step_channel 1")
> in input.c too.
>
Hm. I've splitted this tiny patch in two pieces.

1. def_cmd_avoid_crash.patch
mp_input_bind_keys routine changes contents of  "cmd' parameter.
This can cause trimmming of command string in static struct to e.g.
"{tv"}" value and crash in later code.

2. def_cmd_sect_feat.patch
New feature patch (will cause MPlayer crash without first one).

-- 
Regards,
Vladimir Voroshilov     mailto:voroshil at gmail.com
JID: voroshil at gmail.com, voroshil at jabber.ru
ICQ: 95587719
-------------- next part --------------
A non-text attachment was scrubbed...
Name: def_cmd_sect_feat.patch
Type: text/x-diff
Size: 828 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070719/a2a570fd/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: def_cmd_avoid_crash.patch
Type: text/x-diff
Size: 644 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070719/a2a570fd/attachment-0001.patch>


More information about the MPlayer-dev-eng mailing list