summaryrefslogtreecommitdiff
path: root/src/lib
AgeCommit message (Collapse)Author
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
2024-02-03Don't emit subtitle images that have a zero dimension (#2743).Carl Hetherington
They cause problems later when trying to blend them into the image.
2024-02-03Add an assert to check that sws_getContext() succeeded.Carl Hetherington
2024-02-03Add some asserts; sws_getContext() will fail if the image width or height are 0.Carl Hetherington
2024-02-03Support alpha blend onto YUV444P9LE and YUV444P10LE (68 and 70).Carl Hetherington
2024-02-03Fix incorrect alpha channel scaling with RGBA64.Carl Hetherington
2024-02-03Fix incorrect alpha step used for RGBA64 sources.Carl Hetherington
2024-02-03Put alpha_{data,stride} into OtherYUVParams.Carl Hetherington
2024-02-03Separate out OtherParams into Other{RGB,YUV}Params.Carl Hetherington
2024-01-20Explicitly link zlib to keep new macOS environment happy.Carl Hetherington
2024-01-20Build fix for HAVE_AVSUBTITLERECT_PICT case.Carl Hetherington
2024-01-20Remove unused variable.Carl Hetherington
2024-01-17Fix ISDCF name when referring to OVs with subs (#2703).Carl Hetherington
2024-01-17Move burnt subtitle checks into ::subtitle_languages().Carl Hetherington
2024-01-17Cleanup: forward declaration sorting.Carl Hetherington
2024-01-16Remember some more paths when selecting files (#2728).Carl Hetherington
* export subtitles * export video * debug log * cinema database * config file
2024-01-15Fix handling of empty font IDs and default DCP fonts (#2721) (part of #2722).Carl Hetherington
Previously we used an empty font ID as the default for when a subtitle has no Font, but in #2721 we saw a DCP with an empty font ID which raised an assertion (because we'd already added our default font with the empty ID). Here we try to fix this (and also make the default font correctly be that from the first <LoadFont>).
2024-01-13Add an assert.Carl Hetherington