diff options
author | John Stebbins <[email protected]> | 2015-11-13 19:38:02 -0800 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-01-21 10:09:44 -0700 |
commit | fcb78d5c24387bf2dad2e3c38b4417431b2836ae (patch) | |
tree | 8232f55f36175db115ee08ebd5f5e41c29c53949 /libhb/common.h | |
parent | 56925edbfa59cda34d3fa45f4c61f48970cee5fb (diff) |
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.
Diffstat (limited to 'libhb/common.h')
-rw-r--r-- | libhb/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/common.h b/libhb/common.h index 2dc1c9002..15f847095 100644 --- a/libhb/common.h +++ b/libhb/common.h @@ -1157,7 +1157,6 @@ struct hb_work_object_s hb_work_private_t * private_data; hb_thread_t * thread; - int yield; volatile int * done; volatile int * die; int status; @@ -1172,6 +1171,7 @@ struct hb_work_object_s extern hb_work_object_t hb_sync_video; extern hb_work_object_t hb_sync_audio; +extern hb_work_object_t hb_sync_subtitle; extern hb_work_object_t hb_decvobsub; extern hb_work_object_t hb_encvobsub; extern hb_work_object_t hb_deccc608; |