summaryrefslogtreecommitdiff
path: root/src/lib
AgeCommit message (Collapse)Author
2020-01-17Debug.debug/shaneCarl Hetherington
2020-01-16Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomaticCarl Hetherington
2020-01-16Make FileError say what path the problem was with.Carl Hetherington
Backported from 2ba5edb6761dbb14e4906200cb4e57c4180541ff in master.
2020-01-14Add some PT-style names to the guesswork on which channel a particular sound ↵Carl Hetherington
file belongs to. Backported from 0dca360f831aa51a4c0a33caa18e78c07391f3b7 in v2.15.x.
2020-01-09Give DCPDecoder its own ::position which just returns its internalv2.14.22Carl Hetherington
_next time. This is important because Decoder::position does the wrong thing with DCPs in the following case. 1. DCPDecoder emits a subtitle event (start/stop) at time t. 2. There follows a long time T with no subtitle events. During this time the DCPDecoder's position is reported as t (since TextDecoder notes its position as the time of the last thing it emitted --- which is all it reasonably can do, I think). 3. During this T the DCPDecoder may be incorrectly pass()ed because its position is reported as earlier than it really is; this results in video/audio being emitted by the DCPDecoder but other contemporary sources may not be pass()ed. The upshot of this can be that no audio is emitted, as a contemporary audio source is not pass()ed and hence the merger is waiting for audio that will take a long time to come. When the butler is running this can result in audio underruns as the video buffers overflow with no sign of any audio. It is also simpler this way; DCPDecoder was already maintaining the required information.
2020-01-07Extend the amount of allowed disagreement between the audioCarl Hetherington
coming from the content and the calculated periods of silence. It sees that there is some scope for disagreements here when trim start/end times are rounded to frame boundaries. Fixes #1708.
2020-01-03Fix failure to save screen notes when making a new one (github bug #6).Carl Hetherington
2019-12-19Remove our forcing of analyzeduration and probesize as they seem tov2.14.20Carl Hetherington
cause weird problems when scanning some files. The unit test case added here is a case in point: before this patch one stream reported an incorrect channel count and sample rate. It's a bit worrying as these parameters have been in DoM for many years, but perhaps they have become unnecessary / harmful with changes to FFmpeg.
2019-12-16Flush audio decoder when a DCPDecoder finishes so thatv2.14.18Carl Hetherington
resamplers are emptied and hence we don't lose any samples. Fixes #1691.
2019-12-15Stop empty Font IDs in imported DCP subtitles making it into theCarl Hetherington
output DCP (#1689). Back-ported from d8d4225a3e488cf78438b80938aa18fd07d30a06 in v2.15.x
2019-12-10Make terminate_threads() less likely to leave _threads containing invalid ↵Carl Hetherington
pointers.
2019-12-03Fix typo.Carl Hetherington
2019-12-02Try to do the previous commit in a more compatible way.v2.14.17Carl Hetherington
2019-12-01More detailed errors from zip_close.Carl Hetherington
2019-11-30More accurate video pts calculation; may help with #1663.Carl Hetherington
2019-11-30Fix crash when exporting a 2D project containing 3D content (#1680).Carl Hetherington
2019-11-29Catch attempts to make a DCP when all content has been trimmed to zero length.Carl Hetherington
2019-11-24Properly ignore empty asset path errors that do not lead to missing asset ↵v2.14.15Carl Hetherington
errors.
2019-11-16Fix no-stretch / no-scale for non-square pixels (#1636).v2.14.14Carl Hetherington
Backported from ee0f2219f3799881bc9f5060edd2ceeecff4217d in v2.15.x
2019-11-16Add some new Waker calls.Carl Hetherington
Backported from 052ec34bd487a3645013e87a7062738284d050df in v2.15.x
2019-11-16Fix incorrect images when cropping without stretch.Carl Hetherington
Always overallocate images so that Image::crop_scale_window is always safe from over-reading buffers. Relates to #1654 and probably #1653. Backported from 7b0372776ac4da6a8e4ff29f41a4f08b9b4de506 in v2.15.x.
2019-11-11Make separate reels for parts of the timeline with no video whenCarl Hetherington
we are in REEL_TYPE_BY_VIDEO_CONTENT mode. This fixes VF creation with gaps. Also the implementation of Film::reels() is cleaner now. Backport of 122bea7f0e08e07dcdaccd51751a9c83504f4c04 from master.
2019-11-11Fix incorrect reels when the first content is not at time 0.Carl Hetherington
With REELTYPE_BY_VIDEO_CONTENT the first reel would not start at 0. Backport of b950f49fa893e71545eaf9c0abe8a453d42a4340 from master.
2019-11-11Try to improve debug logging when putting video MXFs into DCPs.Carl Hetherington
2019-11-11Fix comment.Carl Hetherington
2019-11-11Increase fudge factor at the boundary between audio signal and silence.Carl Hetherington
2019-11-11Merge branch 'master' of ssh://main.carlh.net/home/carl/git/dcpomaticCarl Hetherington
2019-11-11Updated cs_CZ translation from Tomáš Begeni.Carl Hetherington
2019-11-06More logging when finding assets to put in reels.Carl Hetherington
2019-11-06Try to ignore exceptions thrown from boost::filesystem::is_symlink (#1662).Carl Hetherington
Backported from c55763e650b12b96b97ef8630d3a5277c1237069 in v2.15.x.
2019-11-04Fix out-of-bounds read when cropping JPEG2000 images (#1654).Carl Hetherington
Backported from 25d968fdcf1abada4bd7bbcb8c72eeebda73b134 in v2.15.x.
2019-11-02Updated es_ES translation from Manuel AC.Carl Hetherington
2019-10-30Fix dying butler on changing CPL from one without to one withv2.14.13Carl Hetherington
subtitles (#1641).
2019-10-28Protect cross-thread access to _pending_images.Carl Hetherington
2019-10-26Prevent calls to erase with invalid keys.Carl Hetherington
2019-10-21Copy with progress updates when we might copy long files (#1574).Carl Hetherington
Backported from 48b82de5b6e8e07330a2f72dbddd8d9830fe047e in v2.15.x.
2019-10-18ISDCF name fixes with > 6 channels and HI/VI (#1633).Carl Hetherington
2019-10-15Fix assertion failure on making a VF, in certain circumstances.v2.14.11Carl Hetherington
These circumstances were a VF which refers to at least one complete reel of audio from a OV before adding more audio of its own.
2019-10-15Fix cross-thread access to info files. May help with #1618.Carl Hetherington
2019-10-14Possible fix for sporadic test failures where DCPs are checked before they ↵Carl Hetherington
are made.
2019-10-08Improve OpenFileError so that it doesn't say "opening for read"Carl Hetherington
in one case where it should say "opening for read/write". Also add some unit tests for ReelWriter.
2019-10-07Add a little logging.Carl Hetherington
2019-09-20Add a warning log when an assertion gets hit.Carl Hetherington
2019-09-03Don't force 24fps onto every DCP made by dcpomatic_create (#1598).Carl Hetherington
Backported from a0d7e38c1b7944ed45cdd6c0292fea33421e8bf5 in v2.15.x.
2019-07-21Ignore video streams with frame rates over 1000 (work-around/fix for #1585).Carl Hetherington
Backported from f4f6a2504e5fedb67513689eaeac9dd88ee38ca9 in 2.15.x.
2019-07-02Don't crash if history items are inaccessible.Carl Hetherington
Backported from 232ddcc9892a7dfd54efa7533c27c4cfdf71bffd in v2.15.x.
2019-06-28Fix incorrect timing of PNG subtitles in second and subsequent reels.Carl Hetherington
Backported from 5728b8095b9522626d61b1c684a9492f759e2870 in v2.15.x.
2019-05-28Use pofilter to check i18n and fix some .po file glitches.v2.14.6Carl Hetherington
2019-05-27Fix several bits of bad i18n markup and add start of checking script.Carl Hetherington
2019-05-27Fix some malformed placeholders in the cs_CZ translation.Carl Hetherington