]> granicus.if.org Git - handbrake/commit
sync: fix sync problem with delayed streams
authorJohn Stebbins <jstebbins.hb@gmail.com>
Sat, 18 Feb 2017 21:11:17 +0000 (14:11 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Sat, 18 Feb 2017 21:14:09 +0000 (14:14 -0700)
commit911a34cf432fd3aa310758cacb7d5c3e21a449a9
treee5ad9cc2c18c3d412689cae8d49d82809170451b
parent1b78a7f71d1651fff1cf780344d946286f0c9a24
sync: fix sync problem with delayed streams

If a stream is delayed by a large amount and the first timestamp from
the stream is AV_NOPTS_VALUE, sync assumed a 0 timestamp which caused
loss of sync.  Drop the buffer instead.

(cherry picked from commit 6fec4838373fd50520a2499ff143c50e5d323f9f)
libhb/sync.c