From c8ff422a42eac30517a7acde57ab84e55449f4e4 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 26 Jun 2015 22:02:00 +0100 Subject: Fix missing subtitles in some cases. We were passing subtitles back from decoders to SubtitleDecoder using dcp::SubtitleStrings and relying on their storage of time to know when the subtitles were. These times are quantised (by the use of dcp::SubtitleString) and then compared with unquantised times (kept as ContentTime) in the main checking loop in SubtitleDecoder::get(). Fix this by storing periods as ContentTimePeriod as well as in the dcp::SubtitleStrings. --- src/lib/wscript | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib/wscript') diff --git a/src/lib/wscript b/src/lib/wscript index 85cbcb7b6..1f870462e 100644 --- a/src/lib/wscript +++ b/src/lib/wscript @@ -36,7 +36,6 @@ sources = """ config.cc content.cc content_factory.cc - content_subtitle.cc cross.cc data.cc dcp_content.cc @@ -132,7 +131,7 @@ def build(bld): obj.name = 'libdcpomatic2' obj.export_includes = ['..'] obj.uselib = """ - AVCODEC AVUTIL AVFORMAT AVFILTER SWSCALE SWRESAMPLE + AVCODEC AVUTIL AVFORMAT AVFILTER SWSCALE SWRESAMPLE BOOST_FILESYSTEM BOOST_THREAD BOOST_DATETIME BOOST_SIGNALS2 SNDFILE OPENJPEG POSTPROC TIFF MAGICK SSH DCP CXML GLIB LZMA XML++ CURL ZIP PANGOMM CAIROMM XMLSEC SUB -- cgit v1.2.3