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

2015-11-07 Thread Nicolas George
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

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

2015-10-26 Thread Nicolas George
Le quintidi 5 brumaire, an CCXXIV, Clement Boesch a écrit : > > Note: While I am touching the options code, I have this crazy idea about > > replacing AV_OPT_TYPE_* that would allow to get out of escaping hell > > completely. I will not have time to act on it soon, but if someone wants to > > hear

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

2015-10-26 Thread Clément Bœsch
On Mon, Oct 26, 2015 at 09:56:37PM +0100, Nicolas George wrote: > Le quintidi 5 brumaire, an CCXXIV, Clement Boesch a écrit : > > > Note: While I am touching the options code, I have this crazy idea about > > > replacing AV_OPT_TYPE_* that would allow to get out of escaping hell > > > completely.

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

2015-10-26 Thread Clément Bœsch
On Mon, Oct 26, 2015 at 09:19:58PM +0100, Nicolas George wrote: > 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

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

2015-10-26 Thread Nicolas George
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 ---