]> 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:13:17 +0000 (14:13 -0700)
commit6fec4838373fd50520a2499ff143c50e5d323f9f
tree1677c9ecfa84011325effbf84ad57f58af03445a
parent1443d9c4589f681e670a240581a6d8078a7b860d
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.
libhb/sync.c