[MPlayer-dev-eng] [PATCH] Change lots of defines to one big enum.

Benjamin Zores ben at geexbox.org
Tue Jun 17 19:09:09 CEST 2008


Hi,

Looking at this input/input.h file, I've found it pretty ugly to use 
dozens of defines to declare MPlayer type of commands.
This simple patch makes them a big enum which:
  - ease a lot application of external patches (no command number conflict)
  - allows sorting commands per type/group (let's call this the Diego's 
work)
  - order command alphabetically per group (Diego, if you read this and 
care ... :-)

Anyone objects to this or may I apply ?

Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: input-big-enum.diff
Type: text/x-diff
Size: 7623 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080617/2ce17cbb/attachment.diff>


More information about the MPlayer-dev-eng mailing list