summaryrefslogtreecommitdiff
path: root/src/lib/hints.cc
AgeCommit message (Collapse)Author
2020-11-21Add hint when making a FTR without FFEC/FFMC markers (#1804).Carl Hetherington
2020-11-21Tidy up Hints a bit.Carl Hetherington
2020-09-01Build fixes for Boost >= 1.73Carl Hetherington
Forward-ported-from: d1e9749ca290673639a49d693a8fe5c6557cc2de
2020-07-29Fix bugs in thread termination causing occasional pthreadCarl Hetherington
assertion failures. Before this, it was possible for J2KEncoder::terminate_threads() to finish without terminating all threads if the thread _running_ terminate_threads() was itself interrupt()ed. This is because the thread_group::join_all() in terminate_threads() is an interruption point, so it was possible it not to complete but instead to throw interrupted_exception. Then the owning J2KEncoder would be torn down but the threads would still be running, causing use-after-frees. This commit adds some boost::this_thread::disable_interruption objects to ensure that the owning thread is not interrupted while it is being destroyed. Also tidy up code that does this stuff, assuming that it's safe to not call thread::joinable but instead do thread.interrupt(); try { thread.join(); } catch (...) {}
2020-06-06Fix erroneous hints about content being narrower than scope when it is near ↵Carl Hetherington
2.35:1 (#1751).
2020-05-11Change video content scaling so that it either:Carl Hetherington
1. scales the content up to fit the DCP container, preserving aspect ratio, or 2. stretches the content to a custom aspect ratio, or 3. scales the content to some custom size.
2020-04-23Nicer fix for 86102d30bf0aad89115bbeb3d8aaa2a27a0aa432Carl Hetherington
2020-04-15Fix length of player output so it can be either the film's length or ↵Carl Hetherington
playlist's length, as appropriate.
2020-02-27Add and use dB/linear conversion functions.Carl Hetherington
2020-01-30Use a non-pointer boost::thread and a std::atomic for the stop flag.Carl Hetherington
2019-10-13Tweak hint.Carl Hetherington
2019-09-09Handle errors a little better when scanning for closed captions (in hints).Carl Hetherington
2019-05-10Put Time types in dcpomatic namespace.Carl Hetherington
2019-03-29Don't warn about overlapping CCAPs in SMPTE DCPs (part of #1516).Carl Hetherington
2019-02-11Minor tweak to clarify hint with content at 2.35:1 and DCP at 2.39:1.Carl Hetherington
2019-02-08Try to fix msgfmt complaints.Carl Hetherington
2019-02-07More tweaks to video frame rate advice (#1441).Carl Hetherington
2019-01-27Remove specification of italic/bold fonts (#1451); synthesis will be used ↵v2.13.110Carl Hetherington
instead.
2019-01-26Fix hints object so that its lifetime is (nearly) the same as its thread.Carl Hetherington
Then when the thread AND Hints object are destroyed we get the Signaller's destructor stuff to stop left-over hint signals being delivered. Also add a hint about > 30fps DCP rates.
2019-01-17Read UTF8 string lengths correctly when checking closed captions (part of ↵Carl Hetherington
#1446).
2019-01-06Improve hints dialog in various ways, especially with long projects (#1439).Carl Hetherington
2018-08-29Fix warning.v2.13.45Carl Hetherington
2018-08-29Basics of splitting CCAP streams into different assets.Carl Hetherington
2018-08-04Some subtitle renaming.Carl Hetherington
2018-07-27Tweak message.Carl Hetherington
2018-07-27Check for long CCAP lines and too many CCAP lines.Carl Hetherington
2018-07-26Background-threaded hints including line length of CCAPs.Carl Hetherington
2018-07-23Tidy up after mass rename.Carl Hetherington
2018-07-23More automated renaming.Carl Hetherington
ActiveCaptions -> ActiveText BitmapCaption -> BitmapText ContentCaption -> ContentText ContentTextCaption -> ContentStringText TextCaptionFileContent -> StringTextFileContent TextCaptionFileDecoder -> StringTextFileDecoder TextCaptionFile -> StringTextFile TextCaption -> StringText PlayerCaption -> PlayerText CaptionContent -> TextContent CaptionDecoder -> TextDecoder CaptionPanel -> TextPanel CaptionView -> TextView CaptionAppearanceDialog -> SubtitleAppearanceDialog CaptionType -> TextType
2018-07-21Basics of multiple captions per content so that DCPContent canCarl Hetherington
hold subs and closed captions.
2018-07-19Clean up after previous commit.Carl Hetherington
2018-07-19Rename Subtitle -> TextCarl Hetherington
sed -i "s/SubtitleContent/TextContent/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/wx/*.h src/tools/*.cc test/*.cc sed -i "s/SubtitleDecoder/TextDecoder/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/wx/*.h src/tools/*.cc test/*.cc sed -i "s/subtitle_content/text_content/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/wx/*.h src/tools/*.cc test/*.cc src/lib/wscript src/wx/wscript sed -i "s/subtitle_decoder/text_decoder/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/wx/*.h src/tools/*.cc test/*.cc src/lib/wscript mv src/lib/subtitle_decoder.cc src/lib/text_decoder.cc mv src/lib/subtitle_decoder.h src/lib/text_decoder.h mv src/lib/subtitle_content.cc src/lib/text_content.cc mv src/lib/subtitle_content.h src/lib/text_content.h mv src/lib/dcp_subtitle_decoder.cc src/lib/dcp_text_decoder.cc mv src/lib/dcp_subtitle_decoder.h src/lib/dcp_text_decoder.h mv src/lib/dcp_subtitle_content.cc src/lib/dcp_text_content.cc mv src/lib/dcp_subtitle_content.h src/lib/dcp_text_content.h mv src/lib/text_subtitle_content.cc src/lib/text_text_content.cc mv src/lib/text_subtitle_content.h src/lib/text_text_content.h mv src/lib/text_subtitle_decoder.cc src/lib/text_text_decoder.cc mv src/lib/text_subtitle_decoder.h src/lib/text_text_decoder.h mv src/wx/timeline_subtitle_content_view.cc src/wx/timeline_text_content_view.cc mv src/wx/timeline_subtitle_content_view.h src/wx/timeline_text_content_view.h
2018-03-22Add hint about making a DCP with a very different frame rate to the content.Carl Hetherington
2018-02-27Add a hint to warn about the stereo-to-5.1 upmixers.Carl Hetherington
2018-01-02Add test for incorrect ISDCF name with full-frame content, and fix it (#1118).Carl Hetherington
2017-05-15Fix typo (thanks Rob).Carl Hetherington
2017-04-30Try to improve hint when making a DCP which is not 24 or 48fps.Carl Hetherington
2016-10-03Don't let hint generation throw an exception in the presence of old audio ↵Carl Hetherington
analysis files.
2016-09-12Add a hint about non-flat/scope containers after hearing fromCarl Hetherington
Gerhard Gruber that one cinema could not use a DCP in a 4:3 container.
2016-08-25Add channel details to high-audio-level hints (#822).Carl Hetherington
2016-07-08Factor out hints code into its own method.Carl Hetherington