Carl Hetherington [Tue, 14 Apr 2020 20:16:27 +0000 (22:16 +0200)]
Ignore and report failures to decode frames during playback (#1593).
Carl Hetherington [Tue, 14 Apr 2020 19:38:26 +0000 (21:38 +0200)]
Use a struct rather than a std::pair as the return type from ImageProxy::image.
Carl Hetherington [Tue, 14 Apr 2020 19:02:56 +0000 (21:02 +0200)]
DCPReadError -> ReadError in libdcp.
Carl Hetherington [Mon, 13 Apr 2020 22:46:25 +0000 (00:46 +0200)]
pot/merge.
Carl Hetherington [Mon, 13 Apr 2020 22:44:33 +0000 (00:44 +0200)]
Try to give a better error when we fail to start J2K encoding
(probably because of a lack of addressable RAM).
See #1540.
Carl Hetherington [Thu, 9 Apr 2020 18:53:22 +0000 (20:53 +0200)]
Support unmounting on macOS and Windows.
Carl Hetherington [Thu, 9 Apr 2020 18:52:20 +0000 (20:52 +0200)]
Tidy up Drive and unmounting a little.
Carl Hetherington [Thu, 9 Apr 2020 17:27:32 +0000 (19:27 +0200)]
Do the right thing when the user cancels the unmount dialogue.
Carl Hetherington [Wed, 8 Apr 2020 22:58:42 +0000 (00:58 +0200)]
Tidy up nanomsg class API; add unmounting for Linux.
Carl Hetherington [Wed, 8 Apr 2020 22:49:35 +0000 (00:49 +0200)]
Improve disk_writer_messages.h commenting and add DISK_WRITER_QUIT and DISK_WRITER_WRITE #defines.
Carl Hetherington [Wed, 8 Apr 2020 09:23:29 +0000 (11:23 +0200)]
Fix build on old 10.6 environment.
Carl Hetherington [Tue, 7 Apr 2020 15:23:07 +0000 (17:23 +0200)]
Windows build fix.
Carl Hetherington [Tue, 7 Apr 2020 12:09:46 +0000 (14:09 +0200)]
Fix non-disk packaging on macOS.
Carl Hetherington [Mon, 6 Apr 2020 23:29:50 +0000 (01:29 +0200)]
Add DCPOMATIC_DISK define and don't build stuff needing boost dll library if we don't need it.
Carl Hetherington [Mon, 6 Apr 2020 19:38:10 +0000 (21:38 +0200)]
Remove duplicate Drive::description.
Carl Hetherington [Mon, 6 Apr 2020 15:19:20 +0000 (17:19 +0200)]
Fix syntax for previous.
Carl Hetherington [Mon, 6 Apr 2020 14:40:46 +0000 (16:40 +0200)]
Use c++11 on Windows too.
Carl Hetherington [Sun, 15 Mar 2020 23:44:31 +0000 (00:44 +0100)]
Add disk writer tool.
Carl Hetherington [Thu, 19 Mar 2020 21:26:40 +0000 (22:26 +0100)]
Missing texts for some new verification failures.
Carl Hetherington [Sun, 15 Mar 2020 23:44:31 +0000 (00:44 +0100)]
Move stress testing code into a separate class and always build it.
Fix stress script generation to always reload a DCP rather than
expecting it to be available after it has finished playback.
Carl Hetherington [Sun, 15 Mar 2020 22:22:50 +0000 (23:22 +0100)]
Fix player stress testing with expanded controls.
Also correctly wait with a stress test until the DCP open
has completely finished.
Carl Hetherington [Sun, 15 Mar 2020 21:26:47 +0000 (22:26 +0100)]
Improve hacks/stress.py a bit.
Carl Hetherington [Sun, 15 Mar 2020 21:26:34 +0000 (22:26 +0100)]
Comments.
Carl Hetherington [Sun, 15 Mar 2020 21:26:19 +0000 (22:26 +0100)]
Rename DEVELOPMENT -> DEVELOP.md and add some stuff about player stress testing.
Carl Hetherington [Sun, 15 Mar 2020 21:25:51 +0000 (22:25 +0100)]
http -> https.
Carl Hetherington [Tue, 10 Mar 2020 22:15:17 +0000 (23:15 +0100)]
Test updates now that there can't be <1s long DCPs any more.
Carl Hetherington [Mon, 9 Mar 2020 21:05:34 +0000 (22:05 +0100)]
Coalesce short reels.
Carl Hetherington [Mon, 9 Mar 2020 21:05:22 +0000 (22:05 +0100)]
Improve and fix some tests.
Carl Hetherington [Mon, 9 Mar 2020 20:41:36 +0000 (21:41 +0100)]
Enforce a minimum DCP length of 1 second.
Carl Hetherington [Mon, 9 Mar 2020 20:35:48 +0000 (21:35 +0100)]
Get some better errors when verification-based tests fail.
Carl Hetherington [Mon, 9 Mar 2020 20:33:13 +0000 (21:33 +0100)]
Enforce minimum reel length when using REELTYPE_BY_LENGTH.
Carl Hetherington [Mon, 9 Mar 2020 20:20:23 +0000 (21:20 +0100)]
Add a test for short pieces of content amongst longer.
Carl Hetherington [Mon, 9 Mar 2020 20:15:47 +0000 (21:15 +0100)]
Failing test for reels with a short length (in bytes) specified.
Carl Hetherington [Mon, 9 Mar 2020 20:12:00 +0000 (21:12 +0100)]
Add a (failing) test for reels created between two other
pieces of content.
Carl Hetherington [Mon, 9 Mar 2020 15:45:26 +0000 (16:45 +0100)]
Move private_data into TestPaths
Carl Hetherington [Mon, 9 Mar 2020 15:42:30 +0000 (16:42 +0100)]
Add failing test for one short-reel possibility.
Carl Hetherington [Wed, 11 Mar 2020 20:23:11 +0000 (20:23 +0000)]
Give a better error when opening a DCP with File -> Open by mistake (#1723).
Carl Hetherington [Wed, 11 Mar 2020 20:23:55 +0000 (21:23 +0100)]
Merge branch 'v2.15.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.15.x
Carl Hetherington [Tue, 10 Mar 2020 16:10:56 +0000 (17:10 +0100)]
Make DKDMs with validity 2 minutes shorter than the signer certificate
validity (#1728).
Carl Hetherington [Sun, 8 Mar 2020 18:18:07 +0000 (19:18 +0100)]
Add missing icons for _playlist to the macOS build.
Carl Hetherington [Sat, 7 Mar 2020 23:14:54 +0000 (00:14 +0100)]
Fix test failure with changes to thread management.
Carl Hetherington [Fri, 6 Mar 2020 21:36:16 +0000 (22:36 +0100)]
Stop threads at the start of their object's destruction in all Job cases.
Carl Hetherington [Tue, 3 Mar 2020 09:26:02 +0000 (10:26 +0100)]
Fix crash in verification due to mismatched wxString::Format placeholder.
Carl Hetherington [Sun, 1 Mar 2020 23:31:50 +0000 (00:31 +0100)]
Fix weirdly-allowed misplaced bracket.
Carl Hetherington [Sun, 1 Mar 2020 21:58:49 +0000 (22:58 +0100)]
Remove unused LOG_DEBUG_DECODE and re-use it to add some 3D shuffler logging.
Carl Hetherington [Sun, 1 Mar 2020 20:51:46 +0000 (21:51 +0100)]
Missing patron.
Carl Hetherington [Sun, 1 Mar 2020 19:27:53 +0000 (20:27 +0100)]
Call wxInitAllImageHandlers and fix Playlist Editor AppName.
Carl Hetherington [Sun, 1 Mar 2020 18:59:25 +0000 (19:59 +0100)]
Fix uninitialised variable.
Carl Hetherington [Sun, 1 Mar 2020 18:58:21 +0000 (19:58 +0100)]
Fix loading of tick/no_tick graphics for playlist editor on Windows.
Carl Hetherington [Sun, 1 Mar 2020 08:42:43 +0000 (09:42 +0100)]
Fix broken test.
Carl Hetherington [Sat, 29 Feb 2020 23:18:47 +0000 (00:18 +0100)]
Support playlists in the player in dual-screen mode.
Carl Hetherington [Sat, 29 Feb 2020 23:14:39 +0000 (00:14 +0100)]
Separate SPL from a version which signals when things change.
Carl Hetherington [Sat, 29 Feb 2020 23:14:17 +0000 (00:14 +0100)]
Add some comments.
Carl Hetherington [Sat, 29 Feb 2020 23:09:13 +0000 (00:09 +0100)]
Make DMG for playlist editor on macOS.
Carl Hetherington [Sat, 29 Feb 2020 22:53:14 +0000 (23:53 +0100)]
Add 'proper' config dialog for the playlist editor.
Carl Hetherington [Sat, 29 Feb 2020 22:43:52 +0000 (23:43 +0100)]
Fix title of player configuration dialogue.
Carl Hetherington [Thu, 27 Feb 2020 23:37:34 +0000 (00:37 +0100)]
Various playlist editor developments and fixes.
Carl Hetherington [Thu, 27 Feb 2020 23:03:01 +0000 (00:03 +0100)]
Copy swaroop_ playlist editor stuff back to main DoM.
Carl Hetherington [Thu, 27 Feb 2020 22:50:10 +0000 (23:50 +0100)]
Move swaroop playlist editor stuff into its own swaroop_
files.
Carl Hetherington [Sat, 29 Feb 2020 20:42:17 +0000 (21:42 +0100)]
Allow changing colour conversion settings for multiple pieces of content at the same time (github #7).
Carl Hetherington [Sat, 29 Feb 2020 19:56:49 +0000 (20:56 +0100)]
Fix exceptions on some metadata.xml.
Carl Hetherington [Fri, 28 Feb 2020 11:31:40 +0000 (12:31 +0100)]
Fix incorrect results when applying some timing operations to
more than one piece of content at once (e.g. trim start).
Carl Hetherington [Thu, 27 Feb 2020 21:47:27 +0000 (22:47 +0100)]
Allow > 0dB gain per channel in the audio matrix (#1720).
Carl Hetherington [Thu, 27 Feb 2020 21:36:41 +0000 (22:36 +0100)]
Use bound arguments to lose some methods.
Carl Hetherington [Thu, 27 Feb 2020 21:26:57 +0000 (22:26 +0100)]
Add and use dB/linear conversion functions.
Carl Hetherington [Thu, 27 Feb 2020 20:24:04 +0000 (21:24 +0100)]
Missing include.
Carl Hetherington [Mon, 24 Feb 2020 20:34:23 +0000 (21:34 +0100)]
Fix incorrect tab-to-space.
Carl Hetherington [Thu, 20 Feb 2020 22:04:48 +0000 (23:04 +0100)]
Tweak DMG creation for Apple changes.
Carl Hetherington [Thu, 20 Feb 2020 16:38:11 +0000 (17:38 +0100)]
Apply FFmpeg palette fix to examination too; fix build with old FFmpeg.
Carl Hetherington [Wed, 19 Feb 2020 21:22:23 +0000 (22:22 +0100)]
Another macOS std::list boost::thread SNAFU.
Carl Hetherington [Wed, 19 Feb 2020 20:55:04 +0000 (21:55 +0100)]
Can't put boost::thread in a std::list with our macOS compiler.
Carl Hetherington [Wed, 19 Feb 2020 19:13:53 +0000 (20:13 +0100)]
Merge branch 'v2.15.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.15.x
Carl Hetherington [Wed, 19 Feb 2020 19:13:49 +0000 (20:13 +0100)]
It may not be allowed to request a zero timeout on macOS.
Carl Hetherington [Wed, 19 Feb 2020 16:23:21 +0000 (17:23 +0100)]
Nicer fix for 2D-labelled-3D checking from master.
Carl Hetherington [Tue, 18 Feb 2020 19:21:56 +0000 (20:21 +0100)]
Remove incorrect comment.
Carl Hetherington [Tue, 18 Feb 2020 19:21:51 +0000 (20:21 +0100)]
Write logs during tests to a file.
Carl Hetherington [Tue, 18 Feb 2020 19:21:38 +0000 (20:21 +0100)]
Remove unused variable.
Carl Hetherington [Sun, 16 Feb 2020 21:23:28 +0000 (22:23 +0100)]
Make a new AudioBuffers constructor and use it to avoid some use of the more complicated copy_from.
Carl Hetherington [Sun, 16 Feb 2020 20:15:12 +0000 (21:15 +0100)]
Better errors if butler doesn't give video during export.
Carl Hetherington [Sun, 16 Feb 2020 19:44:13 +0000 (20:44 +0100)]
New test bits.
Carl Hetherington [Sun, 16 Feb 2020 19:39:47 +0000 (20:39 +0100)]
Just having no specified lines value does not mean we definitely need place the subtitle ourselves.
Carl Hetherington [Thu, 13 Feb 2020 23:28:15 +0000 (00:28 +0100)]
Nudge L/R-aligned subs in from the edge of the screen; do our own placement of subs with no screen height in lines specified.
Carl Hetherington [Thu, 13 Feb 2020 16:29:47 +0000 (17:29 +0100)]
Rename and extend check_packets.py
Carl Hetherington [Thu, 6 Feb 2020 20:56:49 +0000 (21:56 +0100)]
Fix crash.
Carl Hetherington [Thu, 6 Feb 2020 09:34:30 +0000 (10:34 +0100)]
Fix crash with bitmapped subs that have zero width or height.
Carl Hetherington [Tue, 28 Jan 2020 11:49:08 +0000 (12:49 +0100)]
Add new script.
Carl Hetherington [Tue, 28 Jan 2020 11:49:00 +0000 (12:49 +0100)]
Various improvements to make_dummy_files
Carl Hetherington [Thu, 30 Jan 2020 21:54:38 +0000 (22:54 +0100)]
Various thread cleanups.
Carl Hetherington [Thu, 30 Jan 2020 21:19:17 +0000 (22:19 +0100)]
Use a non-pointer boost::thread and a std::atomic for the stop flag.
Carl Hetherington [Tue, 28 Jan 2020 22:49:07 +0000 (23:49 +0100)]
Missing #include for previous.
Carl Hetherington [Tue, 28 Jan 2020 22:23:47 +0000 (23:23 +0100)]
Fix deadlock during content examination.
Before this fix, the following situation could happen in threads
A and B:
A: Some DONE signal happens; this triggers setup_pieces which
takes a lock on the player mutex.
B: FFmpegContent::examine takes a lock on the content mutex.
B: FFmpegContent::examine adds a stream
B: That causes STREAMS PENDING to be emitted.
B: This tries to take a lock on the player mutex so it can update _suspended
A: setup_pieces tries to access some content information, hence
tries to take a lock on the content mutex.
Now B is holding the CL and awaiting the PL and A is holding
the PL and awaiting the CL.
It feels like the root cause of this is that while setup_pieces
is happening another change (which would itself cause setup_pieces)
is announced, and this isn't dealt with properly.
There are two steps here; _suspended is protected with an atomic
rather than using _mutex, and also it can cope with being updated
recursively.
Carl Hetherington [Mon, 27 Jan 2020 23:19:52 +0000 (23:19 +0000)]
Fix crash with sub-sample push parts in AudioMerger.
Forward-ported from
b86b15391074a68149f8c4a51958c7873d74def0 in master.
Carl Hetherington [Mon, 27 Jan 2020 19:27:52 +0000 (20:27 +0100)]
Fix missing preferences icon on macOS.
Carl Hetherington [Sat, 25 Jan 2020 22:59:24 +0000 (23:59 +0100)]
Warn if doing a gain calculation might cause clipping.
Carl Hetherington [Sat, 25 Jan 2020 22:26:31 +0000 (23:26 +0100)]
Apply fader-based gain calculations to the current gain, not 0dB.
Carl Hetherington [Sat, 25 Jan 2020 20:13:33 +0000 (21:13 +0100)]
Another thinko fix.
Carl Hetherington [Sat, 25 Jan 2020 09:05:34 +0000 (10:05 +0100)]
Fix thinko two commits ago.
Carl Hetherington [Tue, 23 Jul 2019 21:55:15 +0000 (22:55 +0100)]
Cache film length for Player::pass.
Carl Hetherington [Tue, 23 Jul 2019 21:45:04 +0000 (22:45 +0100)]
Use memset for zeroing float buffers; it's faster, and I think
we get away with it on all the platforms we care about.
Carl Hetherington [Thu, 23 Jan 2020 14:37:37 +0000 (15:37 +0100)]
Support binary STL subtitle files.