]> rtime.felk.cvut.cz Git - frescor/demo.git/commit
recorder: Fix framerate calulation
authorMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 17 May 2010 13:12:21 +0000 (15:12 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 17 May 2010 13:12:21 +0000 (15:12 +0200)
commit3898a008e2cfbd22b36a5fe2e2259377851d2fc8
tree10f715b09a2389254449db6d43e28dbf5295cd8c
parenta67656fa8bc6dcee2348fc81239ed24f84ab4151
recorder: Fix framerate calulation

The calculation incorrectly take into account the first frame even
if we didn't calculate interframe interval from it.
src/recorder/ffmpeg.c