summaryrefslogtreecommitdiff
path: root/src/lib
AgeCommit message (Collapse)Author
2023-05-15Updated cs_CZ translation from Tomáš Begeni.Carl Hetherington
2023-05-13Cleanup: use a namespace.Carl Hetherington
2023-05-13Cleanup: remove unnecessary explicit.Carl Hetherington
2023-05-13Add dcpomatic2_map tool (#2445).Carl Hetherington
2023-05-13Fix typo in variable name.Carl Hetherington
2023-05-13Remove unused define.Carl Hetherington
2023-05-13Fix some typos in comments.Carl Hetherington
2023-05-12Only add fonts to assets when they are required.Carl Hetherington
2023-05-12Cleanup: whitespace fix.Carl Hetherington
2023-05-12Handle fonts for ccaps coming from DCP content (#2525).Carl Hetherington
Not dealing with them calls all sort of chaos as described in the bug report.
2023-05-12add_fonts_from_examiner() can be called multiple times with the same fontCarl Hetherington
in the case of closed captions with multiple tracks. Don't reuse the same font objects in this case, otherwise we will start with something like font, disambiguate it to 0_font, then disambiguate _that_ to 0_0_font.
2023-05-12Fix _text_count for ccaps when there are multiple reels.Carl Hetherington
Previously we would get a _text_count of 1 for open subs, no matter how many reels there were, but for ccaps the _text_count would increase with the number of tracks _and_ the number of reels.
2023-05-12Fix comment.Carl Hetherington
2023-05-12Allow copy-construction of Font.Carl Hetherington
2023-05-11Remove incorrect silencing (#2526).Carl Hetherington
On switching to the new FFmpeg send/receive API in e29ce33a36c2e20444d57196defc86d5072bce81 the channels variable in deinterleave_audio() was switched from stream channels to frame channels. I'm not sure if this is right, but it does mean that audio has `channels` channels, so calling make_silent() up to the stream channel count is clearly wrong if the stream has more channels than the frame.
2023-05-10Add some assertions.Carl Hetherington
2023-05-10Don't edit start trim unless it's necessary.Carl Hetherington
2023-05-10Allow signals to be blocked and resumed, and so make sure that a setCarl Hetherington
of content changes taken from an examiner are handled at the same time. Should fix DoM #2523.
2023-05-09Cleanup: more variable renames.Carl Hetherington
2023-05-09Cleanup: rename variable.Carl Hetherington
2023-05-08Fix old C++ syntax.Carl Hetherington
2023-05-08Fix typo in comment.Carl Hetherington
2023-04-28Cope with WEBVTT files named with .srt extensions.Carl Hetherington
2023-04-23Fix length()/bytes() mismatch on XML string.Carl Hetherington
2023-04-20Fix lack of email sending if there are no cinema addresses (only extra ones) ↵Carl Hetherington
(#2514).
2023-04-19In 1c73379ed8483dcf71c5ccfc459c2c22516a9aef I changedCarl Hetherington
FontConfig::_available_fonts to use the font ID as a key, but that's totally wrong because the same Font object with the same ID can have its font filename/data changed, and in that case we don't want to use the cached font. Here we use the actual TTF/OTF font data as the key. We could have just hashed the data (whether it comes from a disk file or is held in memory) but this is slower in the case where we have the filename, as then the file must be loaded from disk for each comparison. This fixes #2518.
2023-04-19Wrap path/data in a struct.Carl Hetherington
2023-04-19Add a comment.Carl Hetherington
2023-04-18Slight improvement to error when failing to save a metadata file.Carl Hetherington
2023-04-11Give an error if a non-number is passed to dcpomatic2_create -s (#2488).Carl Hetherington
2023-04-09Fix subtitle font handling with in-memory fonts from SMPTE (#2509).v2.16.52Carl Hetherington
Previously we would fail to make a font available if it came from a SMPTE MXF. In that case we have a memory buffer containing the TTF/OTF file but no file; here we add a hack/workaround so that in-memory font files can be used by FontConfig.
2023-04-06Write MainSoundConfiguration tags with hyphens for unused channels (#2501).Carl Hetherington
2023-04-05Don't add fonts to SMPTE closed caption MXFs (#2505).Carl Hetherington
2023-04-02Updated nl_NL translation from Rob van Nieuwkerk.Carl Hetherington
2023-03-30Use CURLOPT_NOSIGNAL to fix crashes on update check (#2495).Carl Hetherington
Without this, it's possible to come back from curl_easy_perform in a different thread to the one that it was called from (in the case of an error). As I understand it, this happens because a signal handler is called (from a different thread) and CURLOPT_NOSIGNAL stops this from happening.
2023-03-29Add create support for some more audio channels.Carl Hetherington
2023-03-29Write the correct MCA subdescriptors depending on active channels.Carl Hetherington
2023-03-29Always make 16-channel MXFs.Carl Hetherington
2023-03-29pot/merge.Carl Hetherington
2023-03-29Some zh_CN translation fixes from Danbo Song.Carl Hetherington
2023-03-29pot/merge.Carl Hetherington
2023-03-29Fix some translator comments.Carl Hetherington
2023-03-27zh_CN translation fixes from Danbo Song.Carl Hetherington
2023-03-27pot/merge.Carl Hetherington
2023-03-23Cleanup: make things a little clearer.v2.16.49Carl Hetherington
2023-03-23Fix crashes when using templates in some cases (#2491).Carl Hetherington
If a template had content with N audio channels there would be various problems if content with <N channels was subsequently added.
2023-03-23Add AudioMapping::take_from().Carl Hetherington
2023-03-23Cleanup: don't need to store _{input,output}_channels.Carl Hetherington
2023-03-19Add assert.Carl Hetherington
2023-03-16Allow re-start of cancelled subtitle analysis jobs.Carl Hetherington