Carl Hetherington [Mon, 24 May 2021 22:56:03 +0000 (00:56 +0200)]
Add video_to_full_range implementation for RGB48LE.
Carl Hetherington [Mon, 24 May 2021 22:32:39 +0000 (00:32 +0200)]
Clamp results correctly when shifting video levels, and account for that in tests.
Carl Hetherington [Mon, 24 May 2021 22:30:48 +0000 (00:30 +0200)]
Make a test check more informative.
Carl Hetherington [Mon, 24 May 2021 21:46:35 +0000 (23:46 +0200)]
const-correctness tweak.
Carl Hetherington [Mon, 24 May 2021 21:16:07 +0000 (23:16 +0200)]
Use decoder_factory() and a lambda to clean things up a bit.
Carl Hetherington [Mon, 24 May 2021 21:15:46 +0000 (23:15 +0200)]
Forward-declare the right class.
Carl Hetherington [Mon, 24 May 2021 23:12:52 +0000 (01:12 +0200)]
Require lib64canberra-gtk0 on Mageia.
Carl Hetherington [Tue, 25 May 2021 10:42:51 +0000 (12:42 +0200)]
Build disk writer on Mageia.
Carl Hetherington [Sun, 23 May 2021 21:04:46 +0000 (23:04 +0200)]
Don't react so strongly to failure to bind the play server socket when starting a second player.
Carl Hetherington [Sat, 22 May 2021 13:52:22 +0000 (15:52 +0200)]
Fix sensitivity of "Make KDM(s)" button (#2007).
Before you could click it without selecting a DKDM.
Carl Hetherington [Sat, 22 May 2021 13:50:44 +0000 (15:50 +0200)]
C++11 tidying.
Carl Hetherington [Fri, 21 May 2021 14:24:02 +0000 (16:24 +0200)]
Fix invalid memory access introduced in
6f832724ef942f133f6f8d0a06d7377beea8f7a6
Carl Hetherington [Fri, 21 May 2021 07:44:51 +0000 (09:44 +0200)]
Fix thinko in
4ce4b8d3429a97eb4df63460c7e73863f44a621e
Audio content of course doesn't have a single selected stream, so
let's get the channel count from how all the streams are mapped.
Carl Hetherington [Fri, 21 May 2021 07:32:32 +0000 (09:32 +0200)]
Fix path to test libraries on macOS.
Carl Hetherington [Thu, 20 May 2021 18:25:48 +0000 (20:25 +0200)]
Tweak crop icon for GTK2 builds (#1997).
Carl Hetherington [Mon, 17 May 2021 18:35:38 +0000 (20:35 +0200)]
Check that wxSystemSettings::GetAppearance() exists.
Carl Hetherington [Mon, 17 May 2021 13:13:12 +0000 (15:13 +0200)]
Restore support for building thin or universal binaries for macOS.
Carl Hetherington [Thu, 20 May 2021 18:15:14 +0000 (20:15 +0200)]
Specify correct number of channels for LEQ(m) analyses of single pieces of content (#1991)
If we're analysing one piece of content, pass its channel count
into the leqm::Calculator rather than just using the film channel count.
Carl Hetherington [Thu, 20 May 2021 14:49:27 +0000 (16:49 +0200)]
Bump leqm-nrt for a possible fix for #2006.
Carl Hetherington [Wed, 19 May 2021 20:54:19 +0000 (22:54 +0200)]
Don't assert on a non-existant codec (#1999).
Carl Hetherington [Thu, 13 May 2021 12:32:34 +0000 (14:32 +0200)]
Missing macOS dmg ID.
Carl Hetherington [Wed, 12 May 2021 06:07:15 +0000 (08:07 +0200)]
Don't fail to build without disk_writer.
Carl Hetherington [Tue, 11 May 2021 22:10:41 +0000 (00:10 +0200)]
Add a full stop.
Carl Hetherington [Tue, 11 May 2021 22:00:36 +0000 (00:00 +0200)]
Fix disk writer permissions in RPM packages (#1994).
Carl Hetherington [Tue, 11 May 2021 20:35:22 +0000 (22:35 +0200)]
Fix disk_writer perms in .deb files (#1994).
Carl Hetherington [Tue, 11 May 2021 14:09:20 +0000 (16:09 +0200)]
Don't apply the Windows long path fix twice.
Carl Hetherington [Tue, 11 May 2021 12:08:42 +0000 (14:08 +0200)]
Revert incorrect 'fixing' of path on Windows (#1992).
This "to" path is on the ext2 drive so should not have any Windows
hacks applied to it.
Carl Hetherington [Mon, 10 May 2021 13:12:23 +0000 (15:12 +0200)]
Open a dialogue if pinging the back-end fails on macOS.
At least this means the user will get another go without losing
their setup. My only theory at this point is that sometimes the
backend takes a crazy amount of time to start up because of some
SIP / gatekeeper type nonsense (#1990).
Carl Hetherington [Mon, 10 May 2021 07:54:40 +0000 (09:54 +0200)]
Fix name of macOS in the .dmg README.
Carl Hetherington [Sun, 9 May 2021 14:43:24 +0000 (16:43 +0200)]
Attempt ping from front- to back-end several times (#1990).
On macOS it seems that the backend sometimes is not started very
quickly. Adding a long timeout to ping does not work, perhaps
because the backend is not listening.
Trying a few times seems to fix it.
With this fix I saw this log:
Sun May 9 23:02:51 2021: dcpomatic_disk_writer
e63a485e23 started
Sun May 9 23:02:51 2021: Entering main loop
Sun May 9 23:02:51 2021: Writer receives command: P
from the backend and
Sun May 9 23:02:45 2021: Could not send ping to writer (attempt 1)
Sun May 9 23:02:47 2021: Could not send ping to writer (attempt 2)
Sun May 9 23:02:49 2021: Could not send ping to writer (attempt 3)
from the front-end, suggesting that the first 3 pings went to /dev/null
and the 4th was heard.
Carl Hetherington [Sun, 9 May 2021 08:39:26 +0000 (10:39 +0200)]
Fix wrapping of try-unmount dialogue on macOS (#1989).
Carl Hetherington [Sun, 9 May 2021 08:08:39 +0000 (10:08 +0200)]
Add more logging to disk writer.
Carl Hetherington [Sun, 9 May 2021 20:07:51 +0000 (22:07 +0200)]
Remove erroneous call to optional_node_child().
Just after this we loop over all <Text> nodes, and optional_node_child
will raise an exception if there is more than one.
Carl Hetherington [Sun, 9 May 2021 20:07:32 +0000 (22:07 +0200)]
C++11 tidying.
Carl Hetherington [Sat, 8 May 2021 15:35:12 +0000 (17:35 +0200)]
Add some more logging to disk_writer.
Carl Hetherington [Sat, 8 May 2021 13:24:45 +0000 (15:24 +0200)]
Fix missing _writer binary in disk image.
Carl Hetherington [Fri, 7 May 2021 22:30:15 +0000 (00:30 +0200)]
Build disk writer for Ubuntu 21.04.
Carl Hetherington [Fri, 7 May 2021 22:00:22 +0000 (00:00 +0200)]
Updated nl_NL translation from Rob van Nieuwkerk.
Carl Hetherington [Fri, 7 May 2021 20:35:03 +0000 (22:35 +0200)]
More manual tweaks.
Carl Hetherington [Fri, 7 May 2021 20:15:15 +0000 (22:15 +0200)]
Manual updates.
Carl Hetherington [Fri, 7 May 2021 20:14:38 +0000 (22:14 +0200)]
Fix alignment of label.
Carl Hetherington [Fri, 7 May 2021 20:14:33 +0000 (22:14 +0200)]
Add DCPOMATIC_SPIN_CTRL_WIDTH and use it in a few places.
Carl Hetherington [Fri, 7 May 2021 17:13:04 +0000 (19:13 +0200)]
Hide some more FFmpeg warnings.
Carl Hetherington [Fri, 7 May 2021 16:49:51 +0000 (18:49 +0200)]
Missing #include.
Carl Hetherington [Fri, 7 May 2021 16:37:55 +0000 (18:37 +0200)]
Hide some warnings from ffmpeg on Centos 7.
Carl Hetherington [Fri, 7 May 2021 16:22:27 +0000 (18:22 +0200)]
Re-fix previous.
Carl Hetherington [Fri, 7 May 2021 16:16:17 +0000 (18:16 +0200)]
Bump libdcp for centos 7 build fix.
Carl Hetherington [Fri, 7 May 2021 16:09:02 +0000 (18:09 +0200)]
Fix appimage build.
Carl Hetherington [Fri, 7 May 2021 15:16:33 +0000 (17:16 +0200)]
Updated cs_CZ translation from Tomáš Begeni.
Carl Hetherington [Fri, 7 May 2021 15:15:20 +0000 (17:15 +0200)]
Fix build with some older compilers.
Carl Hetherington [Fri, 7 May 2021 06:07:05 +0000 (08:07 +0200)]
Missing override statements.
Carl Hetherington [Thu, 6 May 2021 22:32:45 +0000 (00:32 +0200)]
pot/merge.
Carl Hetherington [Mon, 3 May 2021 09:17:34 +0000 (11:17 +0200)]
C++11 tidying.
Carl Hetherington [Sun, 2 May 2021 23:38:11 +0000 (01:38 +0200)]
Add pixel format 0 (AV_PIX_FMT_YUV420P) to make_part_black().
Remainder of fix for #1984.
Carl Hetherington [Sun, 2 May 2021 23:37:46 +0000 (01:37 +0200)]
Test output tweaks.
Carl Hetherington [Sun, 2 May 2021 23:37:21 +0000 (01:37 +0200)]
Add export test DCP -> h264 to trigger #1984.
Carl Hetherington [Sun, 2 May 2021 09:30:16 +0000 (11:30 +0200)]
Add pixel format 66 (AV_PIX_FMT_YUV422P10LE) to make_part_black().
Part of fix for #1984.
Carl Hetherington [Sun, 2 May 2021 09:29:56 +0000 (11:29 +0200)]
Add export test DCP -> prores to trigger #1984.
Carl Hetherington [Sun, 2 May 2021 09:27:14 +0000 (11:27 +0200)]
C++11 tidying.
Carl Hetherington [Sun, 2 May 2021 09:26:55 +0000 (11:26 +0200)]
Add new line to pixfmts.c
Carl Hetherington [Sun, 2 May 2021 08:12:31 +0000 (10:12 +0200)]
Add Groet Han as a tester.
Carl Hetherington [Sat, 1 May 2021 17:32:15 +0000 (19:32 +0200)]
Build with FFmpeg 4.4 and switch to the new send/receive APIs.
Carl Hetherington [Fri, 30 Apr 2021 17:36:01 +0000 (19:36 +0200)]
Port filter graphs to new FFmpeg API.
Carl Hetherington [Thu, 29 Apr 2021 21:02:03 +0000 (23:02 +0200)]
Upgrade to FFmpeg 4.4.
Carl Hetherington [Thu, 29 Apr 2021 20:59:45 +0000 (22:59 +0200)]
Switch encoding to ffmpeg send/receive API.
Carl Hetherington [Wed, 28 Apr 2021 22:27:49 +0000 (00:27 +0200)]
Switch decoding to ffmpeg send/receive API.
Carl Hetherington [Wed, 28 Apr 2021 18:14:39 +0000 (20:14 +0200)]
Remove some FFmpeg-related warnings by directly accessing AVFrame.
Carl Hetherington [Wed, 28 Apr 2021 08:50:08 +0000 (10:50 +0200)]
Tidy up some error handling a little.
Carl Hetherington [Wed, 28 Apr 2021 06:47:43 +0000 (08:47 +0200)]
Remove some FFmpeg-related warnings by using AVStream::codecpar.
Carl Hetherington [Fri, 30 Apr 2021 23:31:35 +0000 (01:31 +0200)]
C++11 tidying.
Carl Hetherington [Thu, 29 Apr 2021 09:03:38 +0000 (11:03 +0200)]
Remove Monitor / EDID code that was used for the swaroop variant.
Carl Hetherington [Thu, 29 Apr 2021 07:14:20 +0000 (09:14 +0200)]
C++11 tidying.
Carl Hetherington [Thu, 29 Apr 2021 06:31:23 +0000 (08:31 +0200)]
Remove use of boost::noncopyable.
Carl Hetherington [Tue, 27 Apr 2021 08:57:50 +0000 (10:57 +0200)]
Reduce disk usage of interrupt_encoder_test.
Carl Hetherington [Sun, 25 Apr 2021 14:40:36 +0000 (16:40 +0200)]
Missing delete of some constructors.
Carl Hetherington [Fri, 23 Apr 2021 22:34:57 +0000 (00:34 +0200)]
Fix text wrapping in nag dialog (especially on macOS) (#1978).
Carl Hetherington [Thu, 22 Apr 2021 20:25:54 +0000 (22:25 +0200)]
Use new Windows long filename workaround with disk writer (#1755).
Carl Hetherington [Tue, 20 Apr 2021 23:06:57 +0000 (01:06 +0200)]
Do less logging during tests, but also log some details of what test is
running on Windows.
Carl Hetherington [Tue, 20 Apr 2021 20:53:46 +0000 (22:53 +0200)]
Fix fopen() on windows to cope with long filenames (part of #1755).
Carl Hetherington [Fri, 23 Apr 2021 15:43:56 +0000 (17:43 +0200)]
More test fixes.
Carl Hetherington [Fri, 23 Apr 2021 13:22:26 +0000 (15:22 +0200)]
Fix test for random noise addition.
Carl Hetherington [Fri, 23 Apr 2021 13:22:18 +0000 (15:22 +0200)]
Add some new check methods.
Carl Hetherington [Fri, 23 Apr 2021 13:22:13 +0000 (15:22 +0200)]
Update test reference.
Carl Hetherington [Fri, 23 Apr 2021 10:15:28 +0000 (12:15 +0200)]
Cope with noise being added to small JPEG2000 images.
Carl Hetherington [Fri, 23 Apr 2021 10:15:20 +0000 (12:15 +0200)]
Rename some test data.
Carl Hetherington [Fri, 23 Apr 2021 10:15:06 +0000 (12:15 +0200)]
Ignore the new THREED_ASSET_MARKED_AS_TWOD warning when loading DCPs.
Carl Hetherington [Thu, 22 Apr 2021 23:17:16 +0000 (01:17 +0200)]
Fix missing libdcp warning message.
Carl Hetherington [Thu, 22 Apr 2021 23:10:19 +0000 (01:10 +0200)]
I can't convince myself that _canvas_mutex is doing anything useful, so remove it.
Carl Hetherington [Thu, 22 Apr 2021 23:09:38 +0000 (01:09 +0200)]
Make the GL thread access the canvas size in a less ridiculous way.
Carl Hetherington [Thu, 22 Apr 2021 23:08:17 +0000 (01:08 +0200)]
Close down the FilmViewer before its GUI elements get destroyed (#1982).
Otherwise this happens when we're already in the middle of destroying
the UI.
Carl Hetherington [Thu, 22 Apr 2021 20:01:04 +0000 (22:01 +0200)]
Bump libdcp for fix to #1976.
This is an incorrect error when verifying 3D Interop DCPs.
Carl Hetherington [Thu, 22 Apr 2021 13:54:25 +0000 (15:54 +0200)]
Remove configuration option for minimum frame size.
Replace it with a fixed 16KB as per #1902.
Carl Hetherington [Thu, 22 Apr 2021 19:49:17 +0000 (21:49 +0200)]
Allow resizing of nag dialog; may help with #1978.
Carl Hetherington [Thu, 22 Apr 2021 17:56:29 +0000 (19:56 +0200)]
Fix very wide spin button on Linux.
Carl Hetherington [Thu, 22 Apr 2021 17:53:57 +0000 (19:53 +0200)]
C++11 tweaks.
Carl Hetherington [Thu, 22 Apr 2021 08:12:43 +0000 (10:12 +0200)]
Build disk writer on more Fedora versions.
Carl Hetherington [Wed, 21 Apr 2021 23:40:39 +0000 (01:40 +0200)]
Do the polkit dance for unmounting drives as well as writing them.
If we ask for permission to unmount that should carry over to give
permission to format/write as well.
Carl Hetherington [Wed, 21 Apr 2021 23:40:19 +0000 (01:40 +0200)]
Wait a while for unmounts to go through in case we have to authenticate the user.
Carl Hetherington [Wed, 21 Apr 2021 23:40:05 +0000 (01:40 +0200)]
Modify policy as it is now used for unmount too.
Carl Hetherington [Wed, 21 Apr 2021 23:39:47 +0000 (01:39 +0200)]
Get root before unmounting things on Linux.