summaryrefslogtreecommitdiff
path: root/src/lib/hints.cc
AgeCommit message (Collapse)Author
2023-12-05Account for split branch in libdcp.splitCarl Hetherington
2023-10-09Use dcp::filesystem to wrap filesystem calls and fix_long_pathCarl Hetherington
anything that is passed to read_file() from libcxml. This should fix #2623 and other similar problems.
2023-10-02You are advised -> It is advisable (#2189).Carl Hetherington
2023-08-06Add hint about audio channel count.Carl Hetherington
2023-07-31Only warn about a missing text language for subtitles (not closed captions).Carl Hetherington
I haven't properly checked that closed captions shouldn't have some language metadata, but the existing GUI code explicitly disallows setup of a closed caption language.
2023-06-02Fix incorrect hint about having too many subtitle lines in some cases (#2546).Carl Hetherington
2022-12-13Add video_{range,frame_type}.{cc,h} and remove some types.h includes.Carl Hetherington
2022-12-10Extract constants.hCarl Hetherington
2022-06-10Remove duplicate call to write().Carl Hetherington
2022-06-07Rearrange subtitle font management.Carl Hetherington
With this change each subtitle coming out of the player has a reference to a dcpomatic::Font that belongs to the TextContent. This hopefully solves a few problems which all basically stemmed from the fact that previously the decoders/player were deciding what the font ID in the output DCP would be - they can't do that properly.
2022-04-04Cleanup: move some methods from util to maths_util.Carl Hetherington
2022-02-14Add hint about excessive certificate validity.Carl Hetherington
2022-01-11Speed up hints tests by not running a pointless audio analysis.Carl Hetherington
2021-09-27Replace aligned bool with enum Alignment.Carl Hetherington
2021-09-27Various alignment adjustments.Carl 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).