]> granicus.if.org Git - handbrake/commit
sync: gut and rewrite
authorJohn Stebbins <jstebbins.hb@gmail.com>
Sat, 14 Nov 2015 03:38:02 +0000 (19:38 -0800)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Thu, 21 Jan 2016 17:09:44 +0000 (10:09 -0700)
commitfcb78d5c24387bf2dad2e3c38b4417431b2836ae
tree8232f55f36175db115ee08ebd5f5e41c29c53949
parent56925edbfa59cda34d3fa45f4c61f48970cee5fb
sync: gut and rewrite

sync.c was difficult to read, fragile, and prone to difficult to
diagnose bugs (see
https://forum.handbrake.fr/viewtopic.php?f=12&t=33147)

This rewrite simplifies the code, removes signals, locking and yield
that probably cause the above problem and is much more flexible.  It
fixes a wider variety of timestamp issues than before and is much easier
to extend if other timestamp analysis is desired.
libhb/common.h
libhb/decavcodec.c
libhb/enc_qsv.c
libhb/fifo.c
libhb/hb.c
libhb/internal.h
libhb/sync.c
libhb/vfr.c
libhb/work.c