Better b-frame muxing. Instead of using an arbitrarily long offset and then later...
commit03442dd94c4f367a23261e45a693016e8f5231d2
authorjbrjake <jbrjake@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 28 Dec 2007 19:48:37 +0000 (28 19:48 +0000)
committerjbrjake <jbrjake@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 28 Dec 2007 19:48:37 +0000 (28 19:48 +0000)
tree0f1ddf8f50f3c9600effc922e7a2039484db925a
parent722fdcc72f389cdee974bf85778d58f722d46eee
Better b-frame muxing. Instead of using an arbitrarily long offset and then later walking the file to find the smallest one, now x264 uses the smallest delay it can from the start. This significantly cuts down muxing time.

As a side effect, it also makes fixing chapter markers + b-frames easy, so that's included too in muxmp4 (thanks, van!).

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1152 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb/encx264.c
libhb/muxmkv.c
libhb/muxmp4.c