[MPlayer-dev-eng] [PATCH] Use the normal option parser for command line preparsing

Alban Bedel albeu at free.fr
Sun Apr 13 16:52:52 CEST 2008


Hi all,

with regard to the -noconfig patch I fixed the command line preparsing
to allow using options normally. I put the preparser code with the
config file parser together bcs this code is also used by both mplayer
and mencoder.

After applying the patch command line like "foo.avi -sub -really-quiet"
will behave correctly (ie. -really-quiet won't be interpreted as an
option).

Testing welcome, I plan to apply it tonight unless there is some
problem.

	Albeu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: preparse_cmd_line.diff
Type: text/x-diff
Size: 5882 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080413/ef754abb/attachment.diff>


More information about the MPlayer-dev-eng mailing list