dcpomatic.git
6 years agoAllow CPL selection in player (#1239).
Carl Hetherington [Thu, 22 Mar 2018 23:11:06 +0000 (23:11 +0000)]
Allow CPL selection in player (#1239).

6 years agoImprove the appearance of a few error messages (#1187).
Carl Hetherington [Thu, 22 Mar 2018 22:01:17 +0000 (22:01 +0000)]
Improve the appearance of a few error messages (#1187).

6 years agoAdd hint about making a DCP with a very different frame rate to the content.
Carl Hetherington [Thu, 22 Mar 2018 21:52:18 +0000 (21:52 +0000)]
Add hint about making a DCP with a very different frame rate to the content.

6 years agoMerge de_DE readme from 2.12.x.
Carl Hetherington [Thu, 22 Mar 2018 20:33:07 +0000 (20:33 +0000)]
Merge de_DE readme from 2.12.x.

6 years agoMerge nl_NL translation 15f3ff4 from v2.12.x.
Carl Hetherington [Wed, 21 Mar 2018 09:14:03 +0000 (09:14 +0000)]
Merge nl_NL translation 15f3ff4 from v2.12.x.

6 years agoMerge Carsten's de_DE translation from c52231e.
Carl Hetherington [Thu, 22 Mar 2018 18:39:32 +0000 (18:39 +0000)]
Merge Carsten's de_DE translation from c52231e.

6 years agoAdd stub el_GR translations and add ar_LB/fi_FI to build scripts.
Carl Hetherington [Thu, 22 Mar 2018 20:28:24 +0000 (20:28 +0000)]
Add stub el_GR translations and add ar_LB/fi_FI to build scripts.

6 years agoBump libdcp for xmlns changes. v2.13.1
Carl Hetherington [Wed, 21 Mar 2018 23:13:10 +0000 (23:13 +0000)]
Bump libdcp for xmlns changes.

6 years agoUpdate for new bits in libdcp verify.
Carl Hetherington [Wed, 21 Mar 2018 22:46:22 +0000 (22:46 +0000)]
Update for new bits in libdcp verify.

6 years agoMust tell RPM about new translation files.
Carl Hetherington [Wed, 21 Mar 2018 10:05:35 +0000 (10:05 +0000)]
Must tell RPM about new translation files.

6 years agoMerge.
Carl Hetherington [Wed, 21 Mar 2018 09:14:03 +0000 (09:14 +0000)]
Merge.

6 years agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Carl Hetherington [Wed, 21 Mar 2018 09:12:55 +0000 (09:12 +0000)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic

6 years agoFix for python 3.
Carl Hetherington [Wed, 21 Mar 2018 09:12:53 +0000 (09:12 +0000)]
Fix for python 3.

6 years ago.dmg tweaks from v2.12.x.
Carl Hetherington [Tue, 20 Mar 2018 21:14:10 +0000 (21:14 +0000)]
.dmg tweaks from v2.12.x.

6 years agoMissing libdcp prefix.
Carl Hetherington [Tue, 20 Mar 2018 13:39:21 +0000 (13:39 +0000)]
Missing libdcp prefix.

6 years agoTypo in previous.
Carl Hetherington [Tue, 20 Mar 2018 13:37:54 +0000 (13:37 +0000)]
Typo in previous.

6 years agoFix build for newer libdcp.
Carl Hetherington [Tue, 20 Mar 2018 09:48:13 +0000 (09:48 +0000)]
Fix build for newer libdcp.

6 years agoBump libdcp.
Carl Hetherington [Tue, 20 Mar 2018 00:43:44 +0000 (00:43 +0000)]
Bump libdcp.

6 years agoSupport for ycmd.
Carl Hetherington [Mon, 19 Mar 2018 23:26:08 +0000 (23:26 +0000)]
Support for ycmd.

6 years agoFix corrupted image (and probably crashes) when changing the player's
Carl Hetherington [Sun, 18 Mar 2018 23:43:49 +0000 (23:43 +0000)]
Fix corrupted image (and probably crashes) when changing the player's
window size; we request images of the new size with set_video_container_size
but some old ones from the butler (I think) will arrive.  Check that the
images are the right size before we try to construct a wxBitmap with them.
Should fix #1242.

6 years agoKDM writing tweak from v2.12.x.
Carl Hetherington [Fri, 16 Mar 2018 19:59:29 +0000 (19:59 +0000)]
KDM writing tweak from v2.12.x.

6 years agoAnother OS X signing-related fix.
Carl Hetherington [Fri, 16 Mar 2018 19:59:17 +0000 (19:59 +0000)]
Another OS X signing-related fix.

6 years agoFixes for OS X signing.
Carl Hetherington [Fri, 16 Mar 2018 19:59:01 +0000 (19:59 +0000)]
Fixes for OS X signing.

6 years agoFix mageia dependency.
Carl Hetherington [Fri, 16 Mar 2018 17:55:26 +0000 (17:55 +0000)]
Fix mageia dependency.

6 years agoMissing files.
Carl Hetherington [Thu, 15 Mar 2018 23:47:50 +0000 (23:47 +0000)]
Missing files.

6 years agoBetter error when loading a non-certificate as a certificate; the chain is OK but...
Carl Hetherington [Wed, 14 Mar 2018 23:26:17 +0000 (23:26 +0000)]
Better error when loading a non-certificate as a certificate; the chain is OK but empty.

6 years agoVery basic DCP verification in the player (#1238).
Carl Hetherington [Wed, 14 Mar 2018 00:59:58 +0000 (00:59 +0000)]
Very basic DCP verification in the player (#1238).

6 years agoTry to do versioning without two commits per version change. v2.13.0
Carl Hetherington [Tue, 13 Mar 2018 22:00:38 +0000 (22:00 +0000)]
Try to do versioning without two commits per version change.

6 years agoBump libdcp correctly.
Carl Hetherington [Tue, 13 Mar 2018 09:22:29 +0000 (09:22 +0000)]
Bump libdcp correctly.

6 years agoSlightly experimental removal of completely incomplete Requires: line in rpm spec...
Carl Hetherington [Sat, 10 Mar 2018 19:28:48 +0000 (19:28 +0000)]
Slightly experimental removal of completely incomplete Requires: line in rpm spec files; should fix Mageia build.

6 years agoTake ISDCF metadata from templates.
Carl Hetherington [Sat, 10 Mar 2018 00:42:15 +0000 (00:42 +0000)]
Take ISDCF metadata from templates.

6 years agoBump libsub.
Carl Hetherington [Sat, 10 Mar 2018 00:36:35 +0000 (00:36 +0000)]
Bump libsub.

6 years agoTry to give up on making .dmg if we failed to sign the .app.
Carl Hetherington [Fri, 9 Mar 2018 21:50:14 +0000 (21:50 +0000)]
Try to give up on making .dmg if we failed to sign the .app.

6 years agoCheck for signer chains containing UTF8-marked strings and offer
Carl Hetherington [Fri, 9 Mar 2018 00:55:49 +0000 (00:55 +0000)]
Check for signer chains containing UTF8-marked strings and offer
to fix them on startup (#1218).

6 years agoRemove unnecessary include.
Carl Hetherington [Fri, 9 Mar 2018 00:55:31 +0000 (00:55 +0000)]
Remove unnecessary include.

6 years agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Carl Hetherington [Wed, 7 Mar 2018 21:42:36 +0000 (21:42 +0000)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic

6 years agoBump libdcp.
Carl Hetherington [Wed, 7 Mar 2018 21:42:32 +0000 (21:42 +0000)]
Bump libdcp.

6 years agoDon't fake-write encrypted video frames as the asset ID is somehow (?)
Carl Hetherington [Wed, 7 Mar 2018 14:20:19 +0000 (14:20 +0000)]
Don't fake-write encrypted video frames as the asset ID is somehow (?)
embedded in the HMAC (#1232).

6 years agoFix up various confusions in test.
Carl Hetherington [Wed, 7 Mar 2018 14:19:17 +0000 (14:19 +0000)]
Fix up various confusions in test.

6 years agoAdd failing test to trigger #1126.
Carl Hetherington [Wed, 7 Mar 2018 01:33:35 +0000 (01:33 +0000)]
Add failing test to trigger #1126.

6 years agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Carl Hetherington [Tue, 6 Mar 2018 09:52:54 +0000 (09:52 +0000)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic

6 years agoAdapt for changes to libdcp API.
Carl Hetherington [Tue, 6 Mar 2018 09:52:50 +0000 (09:52 +0000)]
Adapt for changes to libdcp API.

6 years agoFix charset in new fi_FI files.
Carl Hetherington [Mon, 5 Mar 2018 15:15:49 +0000 (15:15 +0000)]
Fix charset in new fi_FI files.

6 years agoAdd stub fi_FI.po files.
Carl Hetherington [Mon, 5 Mar 2018 14:46:32 +0000 (14:46 +0000)]
Add stub fi_FI.po files.

6 years agoFix OOM condition when seeking near to the end of long FFmpeg files (#1230).
Carl Hetherington [Mon, 5 Mar 2018 01:33:34 +0000 (01:33 +0000)]
Fix OOM condition when seeking near to the end of long FFmpeg files (#1230).

6 years agoTidy up with some typedefs.
Carl Hetherington [Mon, 5 Mar 2018 01:12:32 +0000 (01:12 +0000)]
Tidy up with some typedefs.

6 years agoIgnore .flatpak-builder work directory.
Carl Hetherington [Mon, 5 Mar 2018 01:10:28 +0000 (01:10 +0000)]
Ignore .flatpak-builder work directory.

6 years agoFirst cut of flatpak manifest.
Carl Hetherington [Mon, 5 Mar 2018 01:10:09 +0000 (01:10 +0000)]
First cut of flatpak manifest.

6 years agoFix corruption of subsampled images that are being placed into black
Carl Hetherington [Fri, 2 Mar 2018 01:28:03 +0000 (01:28 +0000)]
Fix corruption of subsampled images that are being placed into black
frames at odd offsets, using the same approach that is used when
cropping.  Should fix #1227.

6 years agoAdd some write_metadata() calls; use ImageContent for still image.
Carl Hetherington [Thu, 1 Mar 2018 23:40:18 +0000 (23:40 +0000)]
Add some write_metadata() calls; use ImageContent for still image.

6 years agoRemove unused parameter.
Carl Hetherington [Thu, 1 Mar 2018 23:39:47 +0000 (23:39 +0000)]
Remove unused parameter.

6 years agoRemove unused parameter; set audio frame size from the video/audio frame rates.
Carl Hetherington [Thu, 1 Mar 2018 23:39:33 +0000 (23:39 +0000)]
Remove unused parameter; set audio frame size from the video/audio frame rates.

6 years agoRemove some debug code.
Carl Hetherington [Thu, 1 Mar 2018 23:03:23 +0000 (23:03 +0000)]
Remove some debug code.

6 years agoTidy up and add a couple more tests.
Carl Hetherington [Thu, 1 Mar 2018 23:02:20 +0000 (23:02 +0000)]
Tidy up and add a couple more tests.

6 years agoAvoid a memcpy in the export code.
Carl Hetherington [Thu, 1 Mar 2018 20:19:26 +0000 (20:19 +0000)]
Avoid a memcpy in the export code.

6 years agoTweak naming and add more tests.
Carl Hetherington [Thu, 1 Mar 2018 01:09:31 +0000 (01:09 +0000)]
Tweak naming and add more tests.

6 years agoFix thinko in last commit.
Carl Hetherington [Wed, 28 Feb 2018 17:53:19 +0000 (17:53 +0000)]
Fix thinko in last commit.

6 years agoCheck J2K image XYZ-pixel by XYZ-pixel.
Carl Hetherington [Wed, 28 Feb 2018 14:14:03 +0000 (14:14 +0000)]
Check J2K image XYZ-pixel by XYZ-pixel.

6 years agoExpand threshold for successful test slightly.
Carl Hetherington [Wed, 28 Feb 2018 13:06:33 +0000 (13:06 +0000)]
Expand threshold for successful test slightly.

6 years agoAlways with the spaces.
Carl Hetherington [Wed, 28 Feb 2018 12:55:23 +0000 (12:55 +0000)]
Always with the spaces.

6 years agoFix complaints about warnings on OS X.
Carl Hetherington [Wed, 28 Feb 2018 12:27:08 +0000 (12:27 +0000)]
Fix complaints about warnings on OS X.

6 years agoTry to sign .apps. Here Apple, just take my money.
Carl Hetherington [Wed, 28 Feb 2018 12:10:13 +0000 (12:10 +0000)]
Try to sign .apps.  Here Apple, just take my money.

6 years agoTweak error threshold for an image comparison involving subtitles.
Carl Hetherington [Wed, 28 Feb 2018 00:52:42 +0000 (00:52 +0000)]
Tweak error threshold for an image comparison involving subtitles.

6 years agoFix crash if quick_refresh() fails.
Carl Hetherington [Wed, 28 Feb 2018 00:13:54 +0000 (00:13 +0000)]
Fix crash if quick_refresh() fails.

6 years agoRemove some unused code.
Carl Hetherington [Tue, 27 Feb 2018 22:56:42 +0000 (22:56 +0000)]
Remove some unused code.

6 years agoTry again to make private_data path canonical.
Carl Hetherington [Tue, 27 Feb 2018 22:38:31 +0000 (22:38 +0000)]
Try again to make private_data path canonical.

6 years agoAdd a hint to warn about the stereo-to-5.1 upmixers.
Carl Hetherington [Tue, 27 Feb 2018 22:36:09 +0000 (22:36 +0000)]
Add a hint to warn about the stereo-to-5.1 upmixers.

6 years agoRemove relative path elements from test location.
Carl Hetherington [Tue, 27 Feb 2018 20:25:13 +0000 (20:25 +0000)]
Remove relative path elements from test location.

6 years agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Carl Hetherington [Tue, 27 Feb 2018 15:34:50 +0000 (15:34 +0000)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic

6 years agoAdd a load of explicit keywords.
Carl Hetherington [Tue, 27 Feb 2018 15:34:45 +0000 (15:34 +0000)]
Add a load of explicit keywords.

6 years agoAdd an explicit.
Carl Hetherington [Tue, 27 Feb 2018 14:31:43 +0000 (14:31 +0000)]
Add an explicit.

6 years agoRemove duplicate variables.
Carl Hetherington [Tue, 27 Feb 2018 14:26:42 +0000 (14:26 +0000)]
Remove duplicate variables.

6 years agoTweak warnings and add some more.
Carl Hetherington [Tue, 27 Feb 2018 14:26:34 +0000 (14:26 +0000)]
Tweak warnings and add some more.

6 years agoBump libdcp/libsub to release versions and rtaudio-cdist at least to a fixed revision.
Carl Hetherington [Tue, 27 Feb 2018 00:27:40 +0000 (00:27 +0000)]
Bump libdcp/libsub to release versions and rtaudio-cdist at least to a fixed revision.

6 years agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Carl Hetherington [Mon, 26 Feb 2018 20:56:44 +0000 (20:56 +0000)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic

6 years agoMake a backup of configuration when we load in a Version 2 file, and bump our config...
Carl Hetherington [Mon, 26 Feb 2018 13:14:31 +0000 (13:14 +0000)]
Make a backup of configuration when we load in a Version 2 file, and bump our config file version to 3.

6 years agoMissing 18.04 dependencies.
Carl Hetherington [Mon, 26 Feb 2018 01:30:09 +0000 (01:30 +0000)]
Missing 18.04 dependencies.

6 years agoMangle version number.
Carl Hetherington [Mon, 26 Feb 2018 00:16:19 +0000 (00:16 +0000)]
Mangle version number.

6 years agoFix previous.
Carl Hetherington [Mon, 26 Feb 2018 00:15:54 +0000 (00:15 +0000)]
Fix previous.

6 years agoTry to allow build for ubuntu 18.04.
Carl Hetherington [Sun, 25 Feb 2018 23:31:03 +0000 (23:31 +0000)]
Try to allow build for ubuntu 18.04.

6 years agoUpdated es_ES translation from Manuel AC.
Carl Hetherington [Sun, 25 Feb 2018 20:51:47 +0000 (20:51 +0000)]
Updated es_ES translation from Manuel AC.

6 years agoBump libdcp for build fix.
Carl Hetherington [Sun, 25 Feb 2018 01:10:34 +0000 (01:10 +0000)]
Bump libdcp for build fix.

6 years agoHandle errors in subtitle XML better (#1209).
Carl Hetherington [Sun, 25 Feb 2018 00:40:30 +0000 (00:40 +0000)]
Handle errors in subtitle XML better (#1209).

6 years agoSpeed some operations by re-using the last PlayerVideo but with
Carl Hetherington [Sat, 24 Feb 2018 01:05:14 +0000 (01:05 +0000)]
Speed some operations by re-using the last PlayerVideo but with
updated metadata (where possible).  Helps with #1194.

6 years agoUpdated fr_FR translation from Thierry Journet.
Carl Hetherington [Sat, 24 Feb 2018 23:13:51 +0000 (23:13 +0000)]
Updated fr_FR translation from Thierry Journet.

6 years agoAnother subtitle fix.
Carl Hetherington [Fri, 23 Feb 2018 19:55:23 +0000 (19:55 +0000)]
Another subtitle fix.

6 years agoFix thinko in previous.
Carl Hetherington [Fri, 23 Feb 2018 01:21:12 +0000 (01:21 +0000)]
Fix thinko in previous.

6 years agoFix implementation of delay in 7758260; it needs to apply to
Carl Hetherington [Fri, 23 Feb 2018 00:57:04 +0000 (00:57 +0000)]
Fix implementation of delay in 7758260; it needs to apply to
anything passed to emit_video(), not just things that come from
decoders.

6 years agoFix duplicate frames when padding.
Carl Hetherington [Fri, 23 Feb 2018 00:29:44 +0000 (00:29 +0000)]
Fix duplicate frames when padding.

6 years agoBump libdcp.
Carl Hetherington [Thu, 22 Feb 2018 10:15:58 +0000 (10:15 +0000)]
Bump libdcp.

6 years agoFix crash on decoding incomplete DCP content (e.g. on loading a VF with subtitles...
Carl Hetherington [Wed, 21 Feb 2018 23:13:10 +0000 (23:13 +0000)]
Fix crash on decoding incomplete DCP content (e.g. on loading a VF with subtitles into the player).

6 years agoAdd a 2-frame `delay' on content arriving at the player to give
Carl Hetherington [Tue, 20 Feb 2018 23:34:59 +0000 (23:34 +0000)]
Add a 2-frame `delay' on content arriving at the player to give
subtitle content the chance to catch up.  Fixes problems observed
when overlaying a DCP subtitle onto an existing DCP and then seeking
into the first subtitle.  After the seek the decoder positions were:

DCP: 0.
subtitle: first subtitle time.

This causes the DCP decoder to be pass()ed first and so the subtitle
for the video frame has not arrived yet.

I hope this does not cause unpredicted side effects...

6 years agoAdd a possible pure virtual method.
Carl Hetherington [Tue, 20 Feb 2018 23:34:32 +0000 (23:34 +0000)]
Add a possible pure virtual method.

6 years agoHold lock for the whole of Butler::video(). Fixes jumpy nudge-seek
Carl Hetherington [Sun, 18 Feb 2018 01:26:03 +0000 (01:26 +0000)]
Hold lock for the whole of Butler::video().  Fixes jumpy nudge-seek
when playing DCPs.

Before, the lock was only held to check _pending_seek_position.
With that arrangement, this sequence was possible:
1. video arrives, check _pending_seek_position, decide it's ok, release lock
2. Butler::seek called, sets _pending_seek_position, clears _video
3. video that arrived in #1 is put into _video by ::video()
4. that video is given to an awaiting get_video() call.
This clearly subverts the attempts not to accept new video data while
a seek is pending.

6 years agoFix missing subtitles in the player when they are added with a VF.
Carl Hetherington [Sun, 18 Feb 2018 00:34:01 +0000 (00:34 +0000)]
Fix missing subtitles in the player when they are added with a VF.

6 years agoSet up seek position correctly when a seek skips over a reel in
Carl Hetherington [Sun, 18 Feb 2018 00:33:26 +0000 (00:33 +0000)]
Set up seek position correctly when a seek skips over a reel in
a DCP.

6 years agoFix crash on importing an encrypted DCP.
Carl Hetherington [Sat, 17 Feb 2018 00:25:11 +0000 (00:25 +0000)]
Fix crash on importing an encrypted DCP.

6 years agoFix up test.
Carl Hetherington [Sat, 17 Feb 2018 00:23:06 +0000 (00:23 +0000)]
Fix up test.

6 years agoMake import_dcp_test more fussy to expose a bug with importing encrypted DCPs without...
Carl Hetherington [Sat, 17 Feb 2018 00:04:57 +0000 (00:04 +0000)]
Make import_dcp_test more fussy to expose a bug with importing encrypted DCPs without a KDM.

6 years agoAdd log for assertion failure.
Carl Hetherington [Fri, 16 Feb 2018 23:52:39 +0000 (23:52 +0000)]
Add log for assertion failure.