summaryrefslogtreecommitdiff
path: root/src/lib
AgeCommit message (Collapse)Author
2024-06-27Fix error when importing bad subtitle file (#2838).Carl Hetherington
The subtitle XML refers to a font with no corresponding <LoadFont>.
2024-06-19Missing include.v2.16.87Carl Hetherington
2024-06-19Fix build with some older boosts.Carl Hetherington
2024-06-18Fix "available space" count passed to snprintf (#2832).Carl Hetherington
This is wrong (too big) and it causes an abort in some snprintf checker on Ubuntu 24.04.
2024-06-18Updated fr_FR translation from Lilian Lefranc.Carl Hetherington
2024-06-07Fix font ID allocation from DCP when there are subs and ccaps using the same ↵Carl Hetherington
IDs (#2822). Previously we would always use <last-reel+1>_id as a disambiguated ID for every case.
2024-06-04Add an option to dump the decryption certificate from the KDM CLI.Carl Hetherington
2024-05-26Fix build with newer libsub.Carl Hetherington
2024-05-21Fix stream length for DCP content (#2688).Carl Hetherington
2024-05-19Don't make _stream_states for unmapped audio, otherwise we wait for contentCarl Hetherington
which will never arrive.
2024-05-19Add and use Content::has_mapped_audio().Carl Hetherington
2024-05-17Emit no audio from DCPs if none is mappedv2.16.85Carl Hetherington
This makes DCP content behave the same as FFmpeg.
2024-05-17Make sure we don't say some content has audio if none will be emitted.Carl Hetherington
In the FFmpeg (and shortly DCP) case we don't emit any audio if none is mapped, so we must take this into account in the player.
2024-05-15Update DCP encoder progress on all passe()es, not just when audio is emitted.Carl Hetherington
2024-05-15Get DCP transcode progress from the player (#2804).Carl Hetherington
2024-05-14Fix warning cause by previous libdcp bump.Carl Hetherington
2024-05-13Don't bother decoding audio if none of it is mapped (#2809).Carl Hetherington
On a test adding subs from an MKV to an existing DCP this reduces the processing time from ~2h to ~1m because it doesn't resample the audio from the whole of the MKV, only to discard it.
2024-05-08Work around deadlock when destroying J2KEncoder with a full writer queue ↵v2.16.83Carl Hetherington
(#2784). This feels like a hack, but I can't think of a nicer way to do it. The interruption disable makes sense because when we destroy encoder threads during a DCP encode (because a remote server goes away, for example) we don't want any frames to be lost due to the encode thread being interrupted between taking the frame off the queue and sending it to the writer. When we're destroying the encoder we don't care about this, but I can't see how you'd differentiate. Maybe the encoder queue could have two lists: to-do and in-progress; the encoder thread atomically moves a frame from to-do to in-progress, but then how do you know when the in-progress ones are orphaned and need to be re-added to the main queue. You could make the writer return saying "no" if the queue is full (rather than blocking and waiting for the queue to empty) but that seems wasteful as then the frame would be re-encoded.
2024-05-08Add some missing includes.Carl Hetherington
2024-05-02Updated cs_CZ translation from Tomáš Begeni.Carl Hetherington
2024-04-29Fix silent stereo mixdown exports when the project audio channel count is > 6.Carl Hetherington
This became much more of a problem when we started defaulting to 8 channels in projects.
2024-04-23Revert "Tweak how lzma is linked."Carl Hetherington
This reverts commit 604a5f9343eebfa0108a19bb6b8ec60bc81f4819. I don't know why I did this, and it breaks the mac-old (10.8) target as the lzma.5.dylib is not present on those machines.
2024-04-01Fix hanging/overlapping dvb subtitles (#2792).Carl Hetherington
This reverts a change made in 8ca6fd6d97e6d42492afddb655fa85130946853c "Fix doubled subtitles if subtitle stop times are specified." That change breaks the case where a subtitle _does_ have a stop time, but it's wrong (30s from the start time) and we want the next subtitle to clear the previous one. I can't now see how reverting this could cause doubled subtitles, so maybe that problem wlil come back. At least now there's a test for #2792.
2024-03-29Fix crash introduced in previous commit.Carl Hetherington
2024-03-29Fix lack of video rotation in some cases (#2971).Carl Hetherington
Setting the optional to 0 here means we never even looked at the packet side data. This seems to be more of a problem with the v2.17.x branch for some reason.
2024-03-29Fix video scaling when the video needs rotation (#2791).Carl Hetherington
2024-03-29Add VideoContent::rotate_size().Carl Hetherington
2024-03-15Replace use of sprintf with snprintf.Carl Hetherington
2024-03-07Fix screen name order in KDM emails.Carl Hetherington
2024-03-07Store attachment contents in the Email object.Carl Hetherington
2024-03-07Rename Emailer -> Email.Carl Hetherington
2024-02-26Disallow referring to OV audio unless channel counts match (#2780).Carl Hetherington
2024-02-21Make DCPExaminer::size() optional and deal with the consequences.v2.16.78Carl Hetherington
This means we can fix the case of a VF having no known size in a nice way, in turn fixing problems caused by the fix to #2775.
2024-02-21Fix failure to examine non-flat-ratio VFs (#2775).Carl Hetherington
2024-02-20Fix build on Centos 7.Carl Hetherington
2024-02-17Add option to load prefs from ZIP (#2771).Carl Hetherington
2024-02-17Use FileDialog for saving preferences ZIPs.Carl Hetherington
2024-02-17Cleanup: 0 -> nullptr.Carl Hetherington
2024-02-16Return empty optional rather than asserting.Carl Hetherington
2024-02-16Cleanup: add missing explicit.Carl Hetherington
2024-02-16Add Unzipper.Carl Hetherington
2024-02-14Cleanup: white space.Carl Hetherington
2024-02-14Cope with loading a film containing a missing DCP which itself contains ↵Carl Hetherington
subtitles.
2024-02-11Don't add a font with an empty ID for ccaps either (#2762).Carl Hetherington
Previously this was all changed so that for subs we add the default font in a cleaner way (in db22f81ccce9e1a5f205e6d8b3c0631fc039a173). I can't see why we shouldn't treat ccaps the same way, and indeed not doing it causes an error as shown by the included test.
2024-02-11Fix apparently ineffective processors when analysing audio (#2671).Carl Hetherington
A whole film ("DCP side") analysis would behave the same as a single piece of content analysis if the film only had one piece of content. Here we also clarify that audio analysis of the whole film is different to that for a single piece of content; for the whole film we use processors, and for single pieces of content we do not.
2024-02-11Add option to stop the player using any audio processor.Carl Hetherington
2024-02-10Updated sl_SI translation from Martin Srebotnjak.Carl Hetherington
2024-02-07Don't give confusing errors about WEBVTT when there are errors in a Subrip ↵Carl Hetherington
file (#2733).
2024-02-07Remove unused header.Carl Hetherington
2024-02-04Tweak how lzma is linked.Carl Hetherington