dcpomatic.git
4 years agoAllow configuration of relevant log levels in the player (#1549).
Carl Hetherington [Tue, 17 Dec 2019 00:33:31 +0000 (01:33 +0100)]
Allow configuration of relevant log levels in the player (#1549).

4 years agoFlush audio decoder when a DCPDecoder finishes so that
Carl Hetherington [Mon, 16 Dec 2019 23:00:12 +0000 (23:00 +0000)]
Flush audio decoder when a DCPDecoder finishes so that
resamplers are emptied and hence we don't lose any
samples.  Fixes #1691.

Back-ported from 1444299fa4582fc65c5237edd6c115921f20f872 in master.

4 years agoSort out test/data commit history a little. v2.15.38
Carl Hetherington [Sun, 15 Dec 2019 22:30:27 +0000 (23:30 +0100)]
Sort out test/data commit history a little.

4 years agoStop empty Font IDs in imported DCP subtitles making it into the
Carl Hetherington [Sun, 15 Dec 2019 21:59:36 +0000 (22:59 +0100)]
Stop empty Font IDs in imported DCP subtitles making it into the
output DCP (#1689).

4 years agoUpdated test reference for new metadata tag.
Carl Hetherington [Sun, 15 Dec 2019 14:34:17 +0000 (15:34 +0100)]
Updated test reference for new metadata tag.

4 years agoSupport content version metadata (#782).
Carl Hetherington [Sat, 14 Dec 2019 23:47:53 +0000 (00:47 +0100)]
Support content version metadata (#782).

4 years agoAdd some missing verification messages.
Carl Hetherington [Sat, 14 Dec 2019 23:47:33 +0000 (00:47 +0100)]
Add some missing verification messages.

4 years agoTypo in installation copying.
Carl Hetherington [Sat, 14 Dec 2019 23:19:16 +0000 (00:19 +0100)]
Typo in installation copying.

4 years agoFix typo.
Carl Hetherington [Sat, 14 Dec 2019 01:20:02 +0000 (02:20 +0100)]
Fix typo.

4 years agoFix xerces win32 wscript typo.
Carl Hetherington [Sat, 14 Dec 2019 00:41:37 +0000 (01:41 +0100)]
Fix xerces win32 wscript typo.

4 years agoTry a simpler, monochrome icon for the server taskbar icon in macOS (#1670).
Carl Hetherington [Fri, 13 Dec 2019 22:33:47 +0000 (23:33 +0100)]
Try a simpler, monochrome icon for the server taskbar icon in macOS (#1670).

4 years agoUse the new libdcp xerces stuff and install the required supporting files.
Carl Hetherington [Wed, 11 Dec 2019 11:56:03 +0000 (12:56 +0100)]
Use the new libdcp xerces stuff and install the required supporting files.

4 years agoMake terminate_threads() less likely to leave _threads containing invalid pointers.
Carl Hetherington [Tue, 10 Dec 2019 22:43:09 +0000 (22:43 +0000)]
Make terminate_threads() less likely to leave _threads containing invalid pointers.

Backported from f0c10e92b849566e458bc323f8783a6fe83e52d2 in master.

4 years agoFix crash on hotkey-opening the menu then pressing right a few times.
Carl Hetherington [Tue, 10 Dec 2019 23:04:56 +0000 (00:04 +0100)]
Fix crash on hotkey-opening the menu then pressing right a few times.

4 years agodcpomatic_create should respond to --version on stdout, not stderr (#1686).
Carl Hetherington [Mon, 9 Dec 2019 23:01:01 +0000 (00:01 +0100)]
dcpomatic_create should respond to --version on stdout, not stderr (#1686).

4 years agoThrow errors from CPLSummary constructor if the DCP::read reported any problems.
Carl Hetherington [Sun, 8 Dec 2019 15:28:48 +0000 (16:28 +0100)]
Throw errors from CPLSummary constructor if the DCP::read reported any problems.

4 years agoAdjust for changes to libdcp API.
Carl Hetherington [Fri, 6 Dec 2019 14:26:19 +0000 (15:26 +0100)]
Adjust for changes to libdcp API.

4 years agoAdd openssl licence to source tree. v2.15.37
Carl Hetherington [Wed, 4 Dec 2019 21:51:56 +0000 (22:51 +0100)]
Add openssl licence to source tree.

4 years agoPackage a patched openssl which creates certificates with
Carl Hetherington [Tue, 3 Dec 2019 20:47:27 +0000 (21:47 +0100)]
Package a patched openssl which creates certificates with
a validity period starting a week before now; fixes #1422.

4 years agoWhitespace fixes.
Carl Hetherington [Tue, 3 Dec 2019 20:51:42 +0000 (21:51 +0100)]
Whitespace fixes.

4 years agoasdcplib now suffixed with -carl not -cth.
Carl Hetherington [Tue, 3 Dec 2019 16:20:59 +0000 (17:20 +0100)]
asdcplib now suffixed with -carl not -cth.

4 years agoMerge branch 'v2.15.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.15.x
Carl Hetherington [Tue, 3 Dec 2019 10:21:43 +0000 (11:21 +0100)]
Merge branch 'v2.15.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.15.x

4 years agortaudio repo tidied up; should be no code changes.
Carl Hetherington [Tue, 3 Dec 2019 10:21:27 +0000 (11:21 +0100)]
rtaudio repo tidied up; should be no code changes.

4 years agoAdjust some test KDM timings so as not to trip the certificate validity period warning.
Carl Hetherington [Mon, 2 Dec 2019 23:52:32 +0000 (00:52 +0100)]
Adjust some test KDM timings so as not to trip the certificate validity period warning.

4 years ago.gitignore update.
Carl Hetherington [Sun, 1 Dec 2019 23:08:35 +0000 (00:08 +0100)]
.gitignore update.

4 years agoUpdate test/data after changes to audio PTS handling in export.
Carl Hetherington [Sun, 1 Dec 2019 22:32:15 +0000 (23:32 +0100)]
Update test/data after changes to audio PTS handling in export.

4 years agoNice error when a KDM cannot be made because its validity period is not within the...
Carl Hetherington [Sun, 1 Dec 2019 22:15:03 +0000 (23:15 +0100)]
Nice error when a KDM cannot be made because its validity period is not within the signing certificate chain's validity period.

4 years agoFix audio pts accuracy from previous.
Carl Hetherington [Sun, 1 Dec 2019 13:48:59 +0000 (14:48 +0100)]
Fix audio pts accuracy from previous.

4 years agoSome drive discovery hacks.
Carl Hetherington [Sat, 30 Nov 2019 23:52:31 +0000 (00:52 +0100)]
Some drive discovery hacks.

4 years agoMore accurate calculation of export video pts; may fix #1663.
Carl Hetherington [Sat, 30 Nov 2019 21:34:53 +0000 (22:34 +0100)]
More accurate calculation of export video pts; may fix #1663.

Also specify audio pts on the way in to the encoder to stop FFmpeg
complaining.

4 years agoTry to improve the checking for overwrite of export files a little
Carl Hetherington [Sat, 30 Nov 2019 21:34:19 +0000 (22:34 +0100)]
Try to improve the checking for overwrite of export files a little
on Linux; I think we need to do it ourselves rather than relying
on wxFileDialog.

4 years agoSome more pts timing analysis.
Carl Hetherington [Sat, 30 Nov 2019 21:18:44 +0000 (22:18 +0100)]
Some more pts timing analysis.

4 years agoDon't say we're encoding at 0fps when we're waiting for the timing history to stablise.
Carl Hetherington [Sat, 30 Nov 2019 20:17:22 +0000 (21:17 +0100)]
Don't say we're encoding at 0fps when we're waiting for the timing history to stablise.

4 years agoCut down the time before fps starts to be reported for export jobs.
Carl Hetherington [Sat, 30 Nov 2019 20:10:13 +0000 (21:10 +0100)]
Cut down the time before fps starts to be reported for export jobs.

4 years agoFix crash when exporting a 2D project containing 3D content (#1680).
Carl Hetherington [Sat, 30 Nov 2019 19:25:48 +0000 (20:25 +0100)]
Fix crash when exporting a 2D project containing 3D content (#1680).

4 years agoCatch attempts to make a DCP when all content has been trimmed to zero length.
Carl Hetherington [Fri, 29 Nov 2019 16:01:51 +0000 (17:01 +0100)]
Catch attempts to make a DCP when all content has been trimmed to zero length.

4 years agoAdd the same fonts.conf change that OS X has to Windows so that it,
Carl Hetherington [Tue, 26 Nov 2019 19:26:22 +0000 (20:26 +0100)]
Add the same fonts.conf change that OS X has to Windows so that it,
too, can do fake bold/italic (slanted/oblique).  It looks like this
is necessary to see italics with the bundled fonts.

4 years agoNag amount is now in Euros.
Carl Hetherington [Tue, 26 Nov 2019 22:09:44 +0000 (23:09 +0100)]
Nag amount is now in Euros.

4 years agoAccept EmptyAssetPathError if it does not lead to anything worse.
Carl Hetherington [Sun, 24 Nov 2019 22:33:48 +0000 (23:33 +0100)]
Accept EmptyAssetPathError if it does not lead to anything worse.

4 years agoIgnore vim-lsp.log.
Carl Hetherington [Sat, 23 Nov 2019 09:55:05 +0000 (10:55 +0100)]
Ignore vim-lsp.log.

4 years agoPut the timecode next to the rewind-to-0 button to help avoid mouse-slips (#1234). v2.15.36
Carl Hetherington [Wed, 20 Nov 2019 11:57:13 +0000 (12:57 +0100)]
Put the timecode next to the rewind-to-0 button to help avoid mouse-slips (#1234).

4 years agoRestore checking of 2D files that are incorrectly set as 3D.
Carl Hetherington [Wed, 20 Nov 2019 11:35:24 +0000 (12:35 +0100)]
Restore checking of 2D files that are incorrectly set as 3D.

4 years agoDon't announce job is finished until things have been torn down; may help with #1674.
Carl Hetherington [Tue, 19 Nov 2019 23:08:09 +0000 (00:08 +0100)]
Don't announce job is finished until things have been torn down; may help with #1674.

4 years agoFix problems with playing back 3D DCPs and with inserting 3D DCPs
Carl Hetherington [Tue, 19 Nov 2019 21:39:38 +0000 (22:39 +0100)]
Fix problems with playing back 3D DCPs and with inserting 3D DCPs
in 2D projects.  Also add some tests.

4 years agoMore adventures in GCC warning flags. v2.15.35
Carl Hetherington [Sun, 17 Nov 2019 22:10:31 +0000 (23:10 +0100)]
More adventures in GCC warning flags.

4 years agoDon't use -Wno-deprecated-copy on older GCC. v2.15.34
Carl Hetherington [Sun, 17 Nov 2019 20:41:46 +0000 (21:41 +0100)]
Don't use -Wno-deprecated-copy on older GCC.

4 years agoQuell some warnings.
Carl Hetherington [Sun, 17 Nov 2019 11:20:33 +0000 (12:20 +0100)]
Quell some warnings.

4 years agoFix casting of bytes to words, and hence (hopefully) finally fix incorrect bitmapped...
Carl Hetherington [Sun, 17 Nov 2019 18:00:36 +0000 (19:00 +0100)]
Fix casting of bytes to words, and hence (hopefully) finally fix incorrect bitmapped subtitle colours.

4 years agoFix warning.
Carl Hetherington [Wed, 13 Nov 2019 16:04:25 +0000 (17:04 +0100)]
Fix warning.

4 years agoFix crash when calling DCPContent::examine with no film. v2.15.33
Carl Hetherington [Tue, 12 Nov 2019 22:58:50 +0000 (23:58 +0100)]
Fix crash when calling DCPContent::examine with no film.

4 years agoAdd a warning message about Windows controlled folder access.
Carl Hetherington [Mon, 11 Nov 2019 20:19:28 +0000 (20:19 +0000)]
Add a warning message about Windows controlled folder access.

4 years agoDon't trust video timestamps from FFmpegDecoder. v2.15.32
Carl Hetherington [Sun, 10 Nov 2019 21:59:39 +0000 (22:59 +0100)]
Don't trust video timestamps from FFmpegDecoder.

4 years agoMake DecoderPart::_position an optional.
Carl Hetherington [Sun, 10 Nov 2019 21:51:55 +0000 (22:51 +0100)]
Make DecoderPart::_position an optional.

4 years agoFix comment.
Carl Hetherington [Mon, 11 Nov 2019 13:15:05 +0000 (14:15 +0100)]
Fix comment.

4 years agoMerge branch 'v2.15.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.15.x v2.15.31
Carl Hetherington [Fri, 8 Nov 2019 22:55:34 +0000 (23:55 +0100)]
Merge branch 'v2.15.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.15.x

4 years agocheck_packets.py hack tweaks.
Carl Hetherington [Fri, 8 Nov 2019 22:55:32 +0000 (23:55 +0100)]
check_packets.py hack tweaks.

4 years agoTry to fix no-stretch / no-scale for non-square pixels (#1636). v2.15.30
Carl Hetherington [Fri, 8 Nov 2019 16:21:19 +0000 (17:21 +0100)]
Try to fix no-stretch / no-scale for non-square pixels (#1636).

4 years agoRemove duplicate log introduced by previos.
Carl Hetherington [Wed, 6 Nov 2019 21:28:44 +0000 (22:28 +0100)]
Remove duplicate log introduced by previos.

4 years agoMore logging when finding assets to put in reels.
Carl Hetherington [Wed, 6 Nov 2019 21:27:04 +0000 (22:27 +0100)]
More logging when finding assets to put in reels.

4 years agoTry to ignore exceptions thrown from boost::filesystem::is_symlink (#1662).
Carl Hetherington [Wed, 6 Nov 2019 12:48:17 +0000 (13:48 +0100)]
Try to ignore exceptions thrown from boost::filesystem::is_symlink (#1662).

4 years agoDifferentiate between stop and suspend in player.
Carl Hetherington [Tue, 5 Nov 2019 22:01:24 +0000 (23:01 +0100)]
Differentiate between stop and suspend in player.
This and the previous commit somewhat improve the previously
terrible behaviour when seeking during playback, probably
introduced by the idle update stuff.

4 years agoDon't request idle get if we are starting playback again.
Carl Hetherington [Tue, 5 Nov 2019 20:20:32 +0000 (21:20 +0100)]
Don't request idle get if we are starting playback again.

4 years agoRemove dubious _buffers_mutex and maintain a lock on _mutex for
Carl Hetherington [Tue, 5 Nov 2019 20:09:37 +0000 (21:09 +0100)]
Remove dubious _buffers_mutex and maintain a lock on _mutex for
the whole of ::audio.  Otherwise changes to pending seeks can be
mixed up with audio being put into the ringbuffer.

4 years agoProvide some test references.
Carl Hetherington [Tue, 5 Nov 2019 07:49:03 +0000 (08:49 +0100)]
Provide some test references.

4 years agoYet more waking (in hash computation).
Carl Hetherington [Mon, 4 Nov 2019 23:04:21 +0000 (00:04 +0100)]
Yet more waking (in hash computation).

4 years agoMerge branch 'v2.15.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.15.x v2.15.29
Carl Hetherington [Mon, 4 Nov 2019 21:05:24 +0000 (22:05 +0100)]
Merge branch 'v2.15.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.15.x

4 years agoHack for python 3 compatibility (Fedora 31).
Carl Hetherington [Mon, 4 Nov 2019 21:04:44 +0000 (22:04 +0100)]
Hack for python 3 compatibility (Fedora 31).

4 years agoAdd some new Waker calls.
Carl Hetherington [Mon, 4 Nov 2019 19:44:13 +0000 (20:44 +0100)]
Add some new Waker calls.

4 years agoFix incorrect images when cropping without stretch.
Carl Hetherington [Mon, 4 Nov 2019 15:38:14 +0000 (16:38 +0100)]
Fix incorrect images when cropping without stretch.
Always overallocate images so that Image::crop_scale_window is always
safe from over-reading buffers.  Relates to #1654 and probably #1653.

4 years agoFix out-of-bounds read when cropping JPEG2000 images (#1654).
Carl Hetherington [Mon, 4 Nov 2019 11:04:30 +0000 (12:04 +0100)]
Fix out-of-bounds read when cropping JPEG2000 images (#1654).

4 years agoAdd a test to expose #1654, on valgrind at least.
Carl Hetherington [Mon, 4 Nov 2019 09:06:38 +0000 (10:06 +0100)]
Add a test to expose #1654, on valgrind at least.

4 years agoTweak hack program.
Carl Hetherington [Mon, 4 Nov 2019 09:04:40 +0000 (10:04 +0100)]
Tweak hack program.

4 years agoDon't bother limiting supporters by until date.
Carl Hetherington [Sun, 3 Nov 2019 23:30:17 +0000 (00:30 +0100)]
Don't bother limiting supporters by until date.

4 years agoIncrease fudge factor at the boundary between audio signal and silence.
Carl Hetherington [Fri, 1 Nov 2019 10:25:20 +0000 (11:25 +0100)]
Increase fudge factor at the boundary between audio signal and silence.

4 years agoAdd missing reel type call to test.
Carl Hetherington [Fri, 1 Nov 2019 09:09:40 +0000 (10:09 +0100)]
Add missing reel type call to test.

4 years agoMore detailed test logger.
Carl Hetherington [Fri, 1 Nov 2019 07:21:33 +0000 (08:21 +0100)]
More detailed test logger.

4 years agoTweak test now that can_reference_audio correctly succeeds when there is no overlappi...
Carl Hetherington [Thu, 31 Oct 2019 22:59:08 +0000 (23:59 +0100)]
Tweak test now that can_reference_audio correctly succeeds when there is no overlapping audio.

4 years agoMake separate reels for parts of the timeline with no video when
Carl Hetherington [Thu, 31 Oct 2019 20:45:41 +0000 (21:45 +0100)]
Make separate reels for parts of the timeline with no video when
we are in REEL_TYPE_BY_VIDEO_CONTENT mode.  This fixes VF creation
with gaps.  Also the implementation of Film::reels() is cleaner now.

4 years agoFix incorrect reels when the first content is not at time 0.
Carl Hetherington [Thu, 31 Oct 2019 19:34:53 +0000 (20:34 +0100)]
Fix incorrect reels when the first content is not at time 0.
With REELTYPE_BY_VIDEO_CONTENT the first reel would not start at 0.

4 years agoKeep default export name even if the user changes the format (#1584).
Carl Hetherington [Thu, 31 Oct 2019 21:21:02 +0000 (22:21 +0100)]
Keep default export name even if the user changes the format (#1584).

4 years agoPrevent reference/reel setting controls getting stuck when referenced
Carl Hetherington [Thu, 31 Oct 2019 21:11:36 +0000 (22:11 +0100)]
Prevent reference/reel setting controls getting stuck when referenced
content is moved with reel mode 'single' enabled (#1645).

4 years agoAdd python script to summarise some film metadata.
Carl Hetherington [Thu, 31 Oct 2019 16:26:20 +0000 (17:26 +0100)]
Add python script to summarise some film metadata.

4 years agoSet fade in/out using content frame rate rather than DCP rate (#1642).
Carl Hetherington [Thu, 31 Oct 2019 15:01:58 +0000 (16:01 +0100)]
Set fade in/out using content frame rate rather than DCP rate (#1642).

4 years agoAdd comment.
Carl Hetherington [Thu, 31 Oct 2019 15:01:37 +0000 (16:01 +0100)]
Add comment.

4 years agoFix dying butler on changing CPL from one without to one with v2.15.28
Carl Hetherington [Wed, 30 Oct 2019 21:39:58 +0000 (21:39 +0000)]
Fix dying butler on changing CPL from one without to one with
subtitles (#1641).

Forward-port from da39ed1516f2463f8a9bf4795a94f23d420c9ca3 in master.

4 years agoFix incorrectly-placed set +e when building universal binaries. v2.15.27
Carl Hetherington [Sun, 27 Oct 2019 21:54:36 +0000 (22:54 +0100)]
Fix incorrectly-placed set +e when building universal binaries.

4 years agoFix thinko in previous.
Carl Hetherington [Sun, 27 Oct 2019 20:18:10 +0000 (21:18 +0100)]
Fix thinko in previous.

4 years agoProtect cross-thread access to _pending_images.
Carl Hetherington [Sun, 27 Oct 2019 12:11:32 +0000 (13:11 +0100)]
Protect cross-thread access to _pending_images.

4 years agoAvoid unnecessary re-writes of video assets if they are staying the same (#1638). v2.15.26
Carl Hetherington [Wed, 23 Oct 2019 22:24:24 +0000 (00:24 +0200)]
Avoid unnecessary re-writes of video assets if they are staying the same (#1638).

This is particularly useful as it avoids the hard-link-breaking
copy step which is necessary if you're going to re-write the
video asset with new IDs.

4 years agoPut encryption key into the video identifier so that it is re-made if the key changes.
Carl Hetherington [Thu, 24 Oct 2019 10:47:08 +0000 (12:47 +0200)]
Put encryption key into the video identifier so that it is re-made if the key changes.

4 years agoPrevent player folding audio to 2 channel if "default DCP audio channels" is set...
Carl Hetherington [Fri, 25 Oct 2019 22:51:26 +0000 (00:51 +0200)]
Prevent player folding audio to 2 channel if "default DCP audio channels" is set to 2.

4 years agoPrevent calls to erase with invalid keys.
Carl Hetherington [Fri, 25 Oct 2019 22:43:35 +0000 (00:43 +0200)]
Prevent calls to erase with invalid keys.

4 years agoOnly notarize thin OSX builds.
Carl Hetherington [Thu, 24 Oct 2019 22:45:37 +0000 (00:45 +0200)]
Only notarize thin OSX builds.

4 years agoMerge branch 'v2.15.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.15.x v2.15.25
Carl Hetherington [Mon, 21 Oct 2019 16:42:03 +0000 (18:42 +0200)]
Merge branch 'v2.15.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.15.x

4 years agoTweak error handling in make_osx.
Carl Hetherington [Mon, 21 Oct 2019 16:41:55 +0000 (18:41 +0200)]
Tweak error handling in make_osx.

4 years agoMerge branch 'v2.15.x' of ssh://localhost:2222/home/carl/git/dcpomatic into v2.15.x
Carl Hetherington [Mon, 21 Oct 2019 15:25:16 +0000 (17:25 +0200)]
Merge branch 'v2.15.x' of ssh://localhost:2222/home/carl/git/dcpomatic into v2.15.x

4 years agoCopy with progress updates when we might copy long files (#1574).
Carl Hetherington [Mon, 21 Oct 2019 15:25:04 +0000 (17:25 +0200)]
Copy with progress updates when we might copy long files (#1574).

4 years agoAdd notarization steps to make_dmg.sh v2.15.24
Carl Hetherington [Sat, 19 Oct 2019 18:33:17 +0000 (20:33 +0200)]
Add notarization steps to make_dmg.sh

4 years agoRename dcpomatic_sleep -> dcpomatic_sleep_seconds.
Carl Hetherington [Sun, 20 Oct 2019 22:59:59 +0000 (00:59 +0200)]
Rename dcpomatic_sleep -> dcpomatic_sleep_seconds.

4 years agoRemove hard-coded environment location in OS X build.
Carl Hetherington [Sun, 20 Oct 2019 21:38:57 +0000 (23:38 +0200)]
Remove hard-coded environment location in OS X build.