[FFmpeg-devel] [PATCH] avformat: offset fps calculation by one to include 60.00 fps
Michael Niedermayer
michaelni at gmx.at
Fri Jun 22 02:01:13 CEST 2012
On Thu, Jun 21, 2012 at 07:19:18PM +0200, Hendrik Leppkes wrote:
> I decided to change the loops to loop from 0 instead of 1, so the range of
> values is only extended by one at the end, and the first value is not lost.
>
> New patch attached.
> utils.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
> b6b9ef5a49811924d33178f38d26511559352f52 avformat-offset-fps-calculation-v2.patch
> From 8eedf6866249114d2673c58dea471fe455e0232c Mon Sep 17 00:00:00 2001
> From: Hendrik Leppkes <h.leppkes at gmail.com>
> Date: Mon, 9 Apr 2012 18:54:42 +0200
> Subject: [PATCH] avformat: offset fps calculation by one to include 60.00 fps
>
> To ensure the full range of values is still used, also adjust all uses of this function to loop from 0
> instead of 1. This way only 60.00 is added and nothing lost.
applied
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
In fact, the RIAA has been known to suggest that students drop out
of college or go to community college in order to be able to afford
settlements. -- The RIAA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120622/a341b97e/attachment.asc>
More information about the ffmpeg-devel
mailing list