OSDN Git Service

Fix a hang in sync
authorjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Mon, 7 Feb 2011 22:46:01 +0000 (22:46 +0000)
committerjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Mon, 7 Feb 2011 22:46:01 +0000 (22:46 +0000)
commit53540a2eb047671341ba18d82331c1352908279c
tree6e585c9585d46bc560cba3e2b74c908c475eb753
parent15b744583be5f9263c1b3e987d2dbcc915a811a1
Fix a hang in sync
If one stream has no content and other streams have almost no content,
we were hanging while waiting for the first pts in the streams.

This could be reproduced by attempting to encode only the last 0-length chapter
of a DVD.

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