From fcb78d5c24387bf2dad2e3c38b4417431b2836ae Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Fri, 13 Nov 2015 19:38:02 -0800 Subject: 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/hb.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libhb/hb.c') diff --git a/libhb/hb.c b/libhb/hb.c index 42ac83a9d..41347f613 100644 --- a/libhb/hb.c +++ b/libhb/hb.c @@ -1746,6 +1746,7 @@ int hb_global_init() hb_register(&hb_reader); hb_register(&hb_sync_video); hb_register(&hb_sync_audio); + hb_register(&hb_sync_subtitle); hb_register(&hb_decavcodecv); hb_register(&hb_decavcodeca); hb_register(&hb_declpcm); -- cgit v1.2.3