[FFmpeg-devel] [PATCH] lavu/opt: enhance printing durations.

Nicolas George george at nsup.org
Sat Nov 7 16:13:03 CET 2015


Le quintidi 5 brumaire, an CCXXIV, Nicolas George a écrit :
> Trim unneeded leading components and trailing zeros.
> Move the formating code in a separate function.
> Use the function also to format the default value, it was currently
> printed as plain integer, inconsistent to the way it is parsed.
> 
> Signed-off-by: Nicolas George <george at nsup.org>
> ---
>  libavutil/opt.c    | 48 +++++++++++++++++++++++++++++++++++++++++++-----
>  tests/ref/fate/opt |  8 ++++----
>  2 files changed, 47 insertions(+), 9 deletions(-)

Pushed.

Regards,

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


More information about the ffmpeg-devel mailing list