[MPlayer-dev-eng] [PATCH] clean up cfg-* header files

Diego Biurrun diego at biurrun.de
Tue Jun 15 10:47:39 CEST 2010


I had another look at our cfg-*.h files that hold common and specific
option lists for MPlayer and MEncoder and realized that there should
be a way to achieve the same thing in a much simpler way: Just register
a separate array for the common options.

This gets rid of the multiple template inclusion, eliminates some
duplicate and generally simplifies the code.  I am happy with it.

I tested with MPlayer, it still accepts both common and specific
options.  Did I overlook something?  Otherwise I'd like to commit
this soon...

Diego
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cfg.diff
Type: text/x-diff
Size: 23124 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100615/3d690448/attachment.diff>


More information about the MPlayer-dev-eng mailing list