[FFmpeg-devel] [PATCH 1/2] avfilter/vf_framerate: calculate interpolation as integer

Michael Niedermayer michael at niedermayer.cc
Mon Dec 25 20:26:25 EET 2017


On Sat, Dec 23, 2017 at 11:17:38PM +0100, Marton Balint wrote:
> It was truncated to int later on anyway. Fate test changes are due to rounding
> instead of truncation.
> 
> Signed-off-by: Marton Balint <cus at passwd.hu>
> ---
>  libavfilter/vf_framerate.c                 | 22 +++++++++-------
>  tests/ref/fate/filter-framerate-12bit-down | 40 +++++++++++++++---------------
>  tests/ref/fate/filter-framerate-12bit-up   | 40 +++++++++++++++---------------
>  tests/ref/fate/filter-framerate-up         |  4 +--
>  4 files changed, 55 insertions(+), 51 deletions(-)

I didnt check the differnces so this isnt a full review but iam in favor
of this patch

thanks


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

I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- 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/20171225/bd6dbf1e/attachment.sig>


More information about the ffmpeg-devel mailing list