[FFmpeg-devel] [PATCH 05/11] ffserver: allow skip setting defaults

Nicolas George george at nsup.org
Tue Nov 18 22:54:11 CET 2014

L'octidi 28 brumaire, an CCXXIII, Reynaldo H. Verdejo Pinochet a écrit :
> I think I commented about this before but having yesvar & novar
> options seems redundant. Having var = yes or no if absent (or the
> other way around depending on the intended default) seems less
> cumbersome and should simplify the code a bit too, avoiding checking

I think exactly the opposite. People who build reliable configurations want
to avoid relying on default values as much as possible, because default
values can change without notice. Therefore, they need to be able to specify
explicitly any behaviour, even if it is currently the default.

> for the two and imposing a precedence, which is not always
> documented.

I think we can "implicitly document" that the behaviour for contradictory
options is nasal demons.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141118/97ccf608/attachment.asc>

More information about the ffmpeg-devel mailing list