From a0eff2446835a2a29d751a4810fe182c486a2eb6 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 20 Feb 2018 23:34:59 +0000 Subject: Add a 2-frame `delay' on content arriving at the player to give subtitle content the chance to catch up. Fixes problems observed when overlaying a DCP subtitle onto an existing DCP and then seeking into the first subtitle. After the seek the decoder positions were: DCP: 0. subtitle: first subtitle time. This causes the DCP decoder to be pass()ed first and so the subtitle for the video frame has not arrived yet. I hope this does not cause unpredicted side effects... --- src/lib/wscript | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib/wscript') diff --git a/src/lib/wscript b/src/lib/wscript index ae8ab30cb..46ced80ab 100644 --- a/src/lib/wscript +++ b/src/lib/wscript @@ -63,6 +63,7 @@ sources = """ decoder.cc decoder_factory.cc decoder_part.cc + delay.cc digester.cc dkdm_wrapper.cc dolby_cp750.cc @@ -146,6 +147,7 @@ sources = """ upmixer_a.cc upmixer_b.cc util.cc + video_adjuster.cc video_content.cc video_content_scale.cc video_decoder.cc -- cgit v1.2.3