[MPlayer-dev-eng] [PATCH] suboption escaping

Arpi arpi at thot.banki.hu
Wed Oct 19 01:47:33 CEST 2005


Hi,

> Hi,
> On Sat, Aug 20, 2005 at 04:07:57PM +0200, Reimar Döffinger wrote:
> > On Fri, Aug 19, 2005 at 10:09:21AM -0500, Joey Parrish wrote:
> > > I would accept "" parsing if you have a patch to offer.  All I care
> > > about is mencoder -info "title=Star Trek: The Next Generation".  If you
> > > can make this work (other than the %len% method, which is a pain for
> > > scripting) then I'll be happy.
> > 
> > My suggestion... it will bring the two suboption parsers a bit more in sync...
> > A few strings aren't freed in the error case, but IMHO that does not
> > matter (an it was like that also before).
> 
> Applied the second part as well. Adding support for \ escaping should
> not be hard if somebody wants to do it.

you're my guest for 10l:

g5:~/bpp2004 arpi$ mencoder -oac help  
MEncoder dev-CVS-051019-01:12-3.3 (C) 2000-2005 MPlayer Team
AltiVec found
CPU: PowerPC
Option oac: Unknown suboption hel

Exiting... (error parsing cmdline)


g5:~/bpp2004 arpi$ mencoder -oac help\ 
MEncoder dev-CVS-051019-01:12-3.3 (C) 2000-2005 MPlayer Team
AltiVec found
CPU: PowerPC

Available codecs:
   copy     - frame copy, without re-encoding (useful for AC3)
   pcm      - uncompressed PCM audio
   mp3lame  - cbr/abr/vbr MP3 using libmp3lame
   lavc     - FFmpeg audio encoder (MP2, AC3, ...)


Exiting... (error parsing cmdline)
g5:~/bpp2004 arpi$ 

A'rpi




More information about the MPlayer-dev-eng mailing list