OSDN Git Service

- fix an error in the SCR calculation that would cause an extra frame to be dropped...
authorvan <van@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Mon, 30 Jun 2008 05:01:01 +0000 (05:01 +0000)
committervan <van@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Mon, 30 Jun 2008 05:01:01 +0000 (05:01 +0000)
commit13b046adca50f4a130b567bdcfadbddf5fd76cc9
tree077a4794221f0705ddae3f3879e13e0b3ad95a08
parentb6693a23e93f4bee393c715ac8e3da25e22dce3c
 - fix an error in the SCR calculation that would cause an extra frame to be dropped at an SCR discontinuity.
 - fix a rounding error in the encx264 init_delay computation that would underestimate the delay for progressive content and cause spurious "init_delay too small" messages.
 - clean up the sync.c "video time didn't advance" logic and try to make the error mgs more useful for debugging frame duration problems.

git-svn-id: svn://localhost/HandBrake/trunk@1543 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb/demuxmpeg.c
libhb/encx264.c
libhb/internal.h
libhb/reader.c
libhb/sync.c