summaryrefslogtreecommitdiff
path: root/src/lib
AgeCommit message (Collapse)Author
2020-09-29Remove some Linux hacks that I can't see the point of any more.Carl Hetherington
2020-09-27Go back to add_to_cairo_context rather than show_in_cairo_context.Carl Hetherington
On Linux, at least, doing add_to_cairo_context() fill() add_to_cairo_context() stroke() gives a nicer output than show_in_cairo_context() It's not clear exactly what the difference is, but the anti aliasing looks better and the font outlines basically look smoother. May help with #1815.
2020-09-27Fixes for new libdcp with multiple content versions.Carl Hetherington
2020-09-27Add missing tags_path() for Windows and macOS.Carl Hetherington
2020-09-27Revert some of the Linux stuff from a few commits ago.Carl Hetherington
This fixes startup from the source tree.
2020-09-27Adapt for new libdcp (fixing large compiler resource requirements).Carl Hetherington
Also adjust Linux resource-finding code to juse look for stuff relative to the executable's location.
2020-09-25Add NamedChannel and use it to hide the never-used channelsCarl Hetherington
when mapping into a DCP.
2020-09-23Fix crash now that some audio channels are definitely unused.Carl Hetherington
2020-09-23Undefine Status that somebody decided to put in the global namespace.Carl Hetherington
2020-09-23Missing #include.Carl Hetherington
2020-09-23Add audio language configuration and pass it to libdcp.Carl Hetherington
2020-09-23Build fixes.Carl Hetherington
2020-09-23Support CPL metadata.Carl Hetherington
2020-09-23Adapt for changes to libdcp API.Carl Hetherington
2020-09-21Fix --standard flag to dcpomatic2_cli (github #9).Carl Hetherington
Forward-ported-from-commit: c1e8c8638bcb3b4c9d90adc3719f38fa7bf81be9 Forward-ported-from-branch: master
2020-09-20Add dcpomatic_combine tool (#1245).Carl Hetherington
2020-09-14Rename shared_path -> resources_path.Carl Hetherington
2020-09-14Add xsd_path() and use it to fix access to .xsd files on Linux (#1830).Carl Hetherington
2020-09-12Remove support for Windows XP.Carl Hetherington
2020-09-05Updated cs_CZ translation from Tomáš Begeni.v2.15.101Carl Hetherington
2020-09-03Use a unique header guard.Carl Hetherington
2020-09-01Build fixes for Boost >= 1.73Carl Hetherington
Forward-ported-from: d1e9749ca290673639a49d693a8fe5c6557cc2de
2020-08-26Content changes should mark the film dirty (#1810).Carl Hetherington
2020-08-26Fix error string.Carl Hetherington
2020-08-25Try to clean up the mess of exporting subtitles when there isCarl Hetherington
one file vs many files (multiple reels or fonts).
2020-08-25Add option to export Interop subs with or without the font file / reference.Carl Hetherington
2020-08-25Move the code to find Liberation into util.cc.Carl Hetherington
2020-08-17Tidy up resource management of FFmpegFileEncoders so that theyCarl Hetherington
are cleaned up correctly when an error occurs. Adapted from dfac61382f1719f0a879747de43cbc5f9115c2d7 in master.
2020-08-17Report better errors when the butler dies.Carl Hetherington
Adapted from d23f55d8cd73adda823d0a2fcabc129b8845a81 in master.
2020-08-14Fix refusal to start another audio analysis job after cancelling one.v2.15.98Carl Hetherington
2020-08-07Check that we have a connection to the disk writer before starting to use it ↵Carl Hetherington
in earnest.
2020-08-07Fix typo in comment.Carl Hetherington
2020-08-07Reduce width of information text in the copy-to-drive job.Carl Hetherington
2020-08-06Try to fix -Wparentheses error on Centos 8.Carl Hetherington
2020-08-05Allow export with one audio stream per channel.v2.15.95Carl Hetherington
2020-08-05Fix typo.Carl Hetherington
2020-08-05Remove some debugging code.Carl Hetherington
2020-08-03Fix slightly chopped-off subtitles when there are borders.Carl Hetherington
2020-08-03Fix number of frames in the pulldown check.Carl Hetherington
2020-08-03Fix incorrect string find logic.Carl Hetherington
2020-08-02Detect soft 2:3 pulldown (telecine) files and decode them at 23.976.Carl Hetherington
DVD rips from NTSC DVDs are sometimes (always?) encoded using soft 2:3 pulldown. The video frames are actually 23.976 but FFmpeg detects them as 29.97. With the current approach of the video decoder ignoring most PTSs and assuming a constant frame rate it is vital that the file contains the number of frames per second that the detected frame rate predicts. This fixes large sync errors with NTSC DVD rips (#1790).
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-07-29Recover information about closed caption tracks when loading DCPsv2.15.93Carl Hetherington
so that they can be displayed.
2020-07-28Some more warning hiding.Carl Hetherington
2020-07-28Trying to create export audio encoders with between 9 and 15 channelsCarl Hetherington
inclusive fails, at least for AAC. There's probably a way around this with some FFmpeg-cleverness but for now let's just export any project with more than 8 channels as 16. You could argue that we should offer choices to, for example export 7.1/HI/VN as 7.1 but that sounds fiddly. Fixes #1786.
2020-07-27Fix some unused variable warnings on macOS.Carl Hetherington
2020-07-27Don't try to hide Wdeprecated-copy when it doesn't exist.Carl Hetherington
2020-07-27Hide warnings triggered by Ubuntu 20.04's gcc.Carl Hetherington
2020-07-27Hide some windows warnings.Carl Hetherington
2020-07-26Better error handling with Linux privilege escalator.Carl Hetherington