diff options
author | jstebbins <[email protected]> | 2010-04-24 21:47:58 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2010-04-24 21:47:58 +0000 |
commit | 0e567e5e3f054ddc416bc9238b045ca24aa214a4 (patch) | |
tree | 8ab3bc889edbb2d6644954f54da1b2faf40a4619 | |
parent | 125bbb807ec04115061bdb4ed94c58c7510ab341 (diff) |
make count of video frames encoded logging accurate.
it was missing the last frame in the count.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3263 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | libhb/sync.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libhb/sync.c b/libhb/sync.c index 1f6581edb..a36b37b5b 100644 --- a/libhb/sync.c +++ b/libhb/sync.c @@ -390,6 +390,9 @@ int syncVideoWork( hb_work_object_t * w, hb_buffer_t ** buf_in, cur->start = sync->next_start; cur->stop = cur->start + 90000. / ((double)job->vrate / (double)job->vrate_base); + /* Make sure last frame is reflected in frame count */ + pv->common->count_frames++; + /* Push the frame to the renderer */ hb_fifo_push( job->fifo_sync, cur ); sync->cur = NULL; |