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

2024-01-30 Thread Michael Niedermayer
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/20 -show_streams > -show_entries stream=time_b

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

2024-01-27 Thread Marton Balint
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/20 -show_streams -show_entries stream=time_base Before the patch timebase was parsed as 1/19. Signed-off-by