summaryrefslogtreecommitdiff
path: root/src/lib/hints.cc
AgeCommit message (Collapse)Author
2021-07-10Use dcp::compose rather than our own.composeCarl Hetherington
2021-06-01Add hint when no audio language is set (#2033).Carl Hetherington
2021-06-01Tidying.Carl Hetherington
2021-05-30Missing full stop.Carl Hetherington
2021-04-29C++11 tidying.Carl Hetherington
2021-04-21Add some possibly-useful markers for debugging threads from coredumps.Carl Hetherington
2021-04-21Tidy up/fix Hints thread in a couple of ways:Carl Hetherington
- catch all exceptions from anywhere in the thread, rather than just from parts of it - stop the thread immediately when _stop is set to true; we don't care about the results so there's no point carrying on
2021-04-21Analyse audio (if required) when making hints (#1924).Carl Hetherington
Otherwise if you haven't run a whole-project audio analysis you don't get the hints about audio levels being too high.
2021-04-16Fix progress message when analysing for hints.Carl Hetherington
2021-04-16C++11 tidying.Carl Hetherington
2021-04-12Missing full stop.Carl Hetherington
2021-04-10Fix up hints about long subtitle lines.Carl Hetherington
2021-04-10Add a hint about >79 length subtitles.Carl Hetherington
2021-04-07Tweak hint to reflect how the timed text tab can have different names.Carl Hetherington
2021-04-07Missing full stop.Carl Hetherington
2021-04-06Add hint for un-set text languages (#1954).Carl Hetherington
2021-04-05Raise the unusual container hint on anything bit Flat/Scope (#1951).Carl Hetherington
2021-04-05Add hint when making 4K/3D DCPs (#1951).Carl Hetherington
2021-04-05Hint text tweaks.Carl Hetherington
2021-04-05Hint on making Interop DCPs (#1949).Carl Hetherington
2021-03-17Hint about out-of-range markers (#1920).Carl Hetherington
2021-01-31More enum class additions.Carl Hetherington
2021-01-21Adapt for libdcp use of enum class.Carl Hetherington
2021-01-20Bump libdcp for better verification, and make API adjustments.Carl Hetherington
2021-01-07BOOST_FOREACH.Carl Hetherington
2021-01-07std::shared_ptrCarl Hetherington
2020-12-22Pass fonts from content around as FontData.Carl Hetherington
i.e. as a block of memory rather than a file. Also, get the fonts from the decoder rather than the content. Together, these changes allow us to use fonts from SMPTE DCPs added as content. Before, fonts would be messed up in those cases (#1885).
2020-12-22Catch exceptions better during hints thread.Carl Hetherington
2020-12-08Write subtitles and closed captions to a test DCP in the hints thread,Carl Hetherington
then check the result for Bv2.1 violations (part of #1800).
2020-12-07Add WeakFilm and WeakConstFilm and use them a bit.Carl Hetherington
2020-12-06Add some hints for violations of SMPTE Bv2.1 with subtitles and closedCarl Hetherington
captions.
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.