OSDN Git Service

fix a re-synchronization problem in bluray reading
authorjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Thu, 30 Dec 2010 19:18:37 +0000 (19:18 +0000)
committerjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Thu, 30 Dec 2010 19:18:37 +0000 (19:18 +0000)
commit11ef47020f5ffa70ea5a5d19d273613581c77edb
tree0116dcbf55d254c8b91ab8fae91e5cc997237f37
parent00ee8c7dc5c55bba66461ad2d86bedd051e25f20
fix a re-synchronization problem in bluray reading
bd_seek doesn't seek to exactly where you tell it to.  It goes to the nearest
access unit that is *before* the position you request.  When we loose
TS sync, we were doing a bd_seek in the process of resynchronizing that
would take us to a much earlier position.  Then we would hit the same
bad location and loose sync again.  Lather, rinse, repeat...

git-svn-id: svn://localhost/HandBrake/trunk@3720 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb/bd.c