[FFmpeg-devel] [PATCH v2] Fix printing integer option defaults
Michael Niedermayer
michael at niedermayer.cc
Sat Sep 21 00:13:44 EEST 2019
On Wed, Sep 18, 2019 at 09:01:37PM +0000, Soft Works wrote:
> > -----Original Message-----
> > From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> > Michael Niedermayer
> > Sent: Wednesday, September 18, 2019 10:28 PM
> > To: FFmpeg development discussions and patches <ffmpeg-
> > devel at ffmpeg.org>
> > Subject: Re: [FFmpeg-devel] [PATCH v2] Fix printing integer option defaults
> >
> > On Tue, Sep 17, 2019 at 01:36:33AM +0000, Soft Works wrote:
> > > Integer values should not be printed using format specifier '%g' which leads
> > to inexact display in case of higher values.
> > >
> > > Before this patch:
> > > -trans_color <int> .D.V..... color value [...] (default 1.67772e+07)
> > >
> > > Afterwards:
> > > -trans_color <int> .D.V..... color value [...] (default 16777215)
> > >
> > > Update: Use PRId64 format specifier
> > > Signed-off-by: softworkz <softworkz at hotmail.com>
> >
> > Is it intended that the Author doesnt contain a name ?
>
> Yes - I don't care about rights or credits for those tiny contributions. ;-)
ok, will apply
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
"You are 36 times more likely to die in a bathtub than at the hands of a
terrorist. Also, you are 2.5 times more likely to become a president and
2 times more likely to become an astronaut, than to die in a terrorist
attack." -- Thoughty2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190920/e26fce8b/attachment.sig>
More information about the ffmpeg-devel
mailing list