]> granicus.if.org Git - handbrake/commit
libhb: fix incorrect audio gaps
authorjstebbins <jstebbins.hb@gmail.com>
Sun, 1 Apr 2012 15:34:47 +0000 (15:34 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Sun, 1 Apr 2012 15:34:47 +0000 (15:34 +0000)
commit481a3a39d39479752442889dbde03598a0ae788c
treefd06a604a87c6cf5849e03523dd4b4155e255c8b
parent62f087933c51776ca60eb58262989acab2236fd0
libhb: fix incorrect audio gaps
When the duratation of an audio packet is not evenly divisible by the
90khz clock, we were loosing a fraction of a tick per audio packet.  This
causes every packet to be tagged with a timestamp that is a little early
and eventually a gap must be filled to maintain sync.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4574 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb/decavcodec.c