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

Oded Shimon ods15 at ods15.dyndns.org
Sun Aug 7 05:11:43 CEST 2005


On Sat, Aug 06, 2005 at 06:59:47PM -0500, Joey Parrish wrote:
> Hello,
> 
> Attached is a patch to allow escaping of suboptions.
> The biggest reason for this is that without this patch, I keep wanting
> to do this:
>   $ mencoder -info "title=Star Trek: The Next Generation"
> With this patch, you can say:
>   $ mencoder -info "title=Star Trek\\: The Next Generation"
> One escape shown above is for the shell, one is for mencoder.
> 
> I've also attached a second patch with an alternative implementation.
> Please comment on the concept, and then one which patch you prefer.
> 
> I'd like to commit this soon.

I don't really like this patch. maybe m_option should chnage to behavior 
like subopt - %len%string .

As is this patch is no good anyway. What if I want a literal '\'?

- ods15




More information about the MPlayer-dev-eng mailing list