[MPlayer-dev-eng] [PATCH PROPOSAL] -vf option, or soon no more scanf in the vf's

Alban Bedel albeu at free.fr
Fri Mar 14 21:52:02 CET 2003


Hi D Richard Felker III,

on Fri, 14 Mar 2003 16:18:22 -0500 you wrote:

> On Fri, Mar 14, 2003 at 09:53:42PM +0100, Arpi wrote:
> > Hi,
> > 
> > > avoid [ and {, these are special characters.
> > 
> > agree, but...
> > 
> > are there any non-special chars not yet used by the mplayer syntax? :)
It doesn't matter as these are in middle of a string so the shell doesn't
seems to do anything.

> I don't see how we need anything like that. The following would work
> just as well:
> 
> -vop scale=w=640:h=480
> 
> Then, parts of the argument string without a keyname would be
> interpreted in order. For example:
> 
> -vop scale=640:480
> -vop scale=h=480:640
> 
> would do the same as:
> 
> -vop scale=w=640:h=480
> 
> Sound good?
> 
It's confilct bcs you can't know if it the old syntax or the new one with
only flags arguments (Just no = sign doesn't mean that it's the new syntax).
Ok that's extrem but it can happend. Either we drop the old syntax completly
from -vf or we have to find a trick.
I vote for -vop stay the same and -vf accept only the new syntax.
The simplest so ;)

	Albeu


More information about the MPlayer-dev-eng mailing list