[FFmpeg-devel] [PATCH] doc/filters: document the unstability of the shorthand options notation.

Nicolas George george at nsup.org
Sat Aug 5 16:42:08 EEST 2017


L'octidi 18 thermidor, an CCXXV, Michael Niedermayer a écrit :
> This is ambigous and if interpreted litterally
> then even a scale=320:240 would no longer be guranteed to work
> but would require scale=width=320:height=240 to be used.

That is intentional. Note that w=320:h=240 is enough: four characters
more.

> the shorthand is widely used and convenient

It is convenient, but not absolutely necessary. Once in a script, the
extra function names make it more readable and more robust anyway.

> That way anything that works will contine to work and one cannot
> mistakly write a script that uses unstable shorthand options

Remember that "anything that works will continue to work" is opposed to
"we can add new features without being burdened by past mistakes".

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170805/8958a794/attachment.sig>


More information about the ffmpeg-devel mailing list