[FFmpeg-devel] [PATCH 1/3] avutil/rational: increase av_d2q precision

Michael Niedermayer michael at niedermayer.cc
Wed Jan 31 01:57:53 EET 2024


On Sun, Jan 28, 2024 at 04:01:34AM +0100, Marton Balint wrote:
> Fixes parsing small timebases from expressions (where the expression API
> converts the result to double), like in this command line:
> 
> ffprobe -f lavfi -i testsrc=d=1,settb=1/2000000000 -show_streams -show_entries stream=time_base
> 
> Before the patch timebase was parsed as 1/1999999999.
> 
> Signed-off-by: Marton Balint <cus at passwd.hu>
> ---
>  libavutil/rational.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

should be ok

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Homeopathy is like voting while filling the ballot out with transparent ink.
Sometimes the outcome one wanted occurs. Rarely its worse than filling out
a ballot properly.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240131/a76b77eb/attachment.sig>


More information about the ffmpeg-devel mailing list