dcpomatic.git
6 months agoRevert to previous (correct) test data set.
Carl Hetherington [Fri, 2 Mar 2018 01:54:52 +0000 (01:54 +0000)]
Revert to previous (correct) test data set.

6 months agoBump version
Carl Hetherington [Fri, 2 Mar 2018 01:47:19 +0000 (01:47 +0000)]
Bump version

6 months agoBump version v2.11.69
Carl Hetherington [Fri, 2 Mar 2018 01:47:18 +0000 (01:47 +0000)]
Bump version

6 months 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 months agoAlways with the spaces.
Carl Hetherington [Wed, 28 Feb 2018 12:55:23 +0000 (12:55 +0000)]
Always with the spaces.

6 months 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 months agoBump version
Carl Hetherington [Wed, 28 Feb 2018 01:11:32 +0000 (01:11 +0000)]
Bump version

6 months agoBump version v2.11.68
Carl Hetherington [Wed, 28 Feb 2018 01:11:32 +0000 (01:11 +0000)]
Bump version

6 months 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 months 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 months agoBump version
Carl Hetherington [Mon, 26 Feb 2018 16:05:43 +0000 (16:05 +0000)]
Bump version

6 months agoBump version v2.11.67
Carl Hetherington [Mon, 26 Feb 2018 16:05:43 +0000 (16:05 +0000)]
Bump version

6 months 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 months agoBump version
Carl Hetherington [Mon, 26 Feb 2018 01:47:21 +0000 (01:47 +0000)]
Bump version

6 months agoBump version v2.11.66
Carl Hetherington [Mon, 26 Feb 2018 01:47:21 +0000 (01:47 +0000)]
Bump version

6 months agoAdd ubuntu 18.04 dependencies.
Carl Hetherington [Mon, 26 Feb 2018 01:31:01 +0000 (01:31 +0000)]
Add ubuntu 18.04 dependencies.

6 months agoBump version
Carl Hetherington [Sun, 25 Feb 2018 22:11:35 +0000 (22:11 +0000)]
Bump version

6 months agoBump version v2.11.65
Carl Hetherington [Sun, 25 Feb 2018 22:11:35 +0000 (22:11 +0000)]
Bump version

6 months 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 months agoBump version
Carl Hetherington [Sun, 25 Feb 2018 01:11:19 +0000 (01:11 +0000)]
Bump version

6 months agoBump version v2.11.64
Carl Hetherington [Sun, 25 Feb 2018 01:11:19 +0000 (01:11 +0000)]
Bump version

6 months agoMerge branch 'v2.12.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.12.x
Carl Hetherington [Sun, 25 Feb 2018 01:10:38 +0000 (01:10 +0000)]
Merge branch 'v2.12.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.12.x

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

6 months agoBump version
Carl Hetherington [Sun, 25 Feb 2018 00:54:17 +0000 (00:54 +0000)]
Bump version

6 months agoBump version v2.11.63
Carl Hetherington [Sun, 25 Feb 2018 00:54:17 +0000 (00:54 +0000)]
Bump version

6 months 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 months 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 months 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 months agoBump version
Carl Hetherington [Sat, 24 Feb 2018 01:07:24 +0000 (01:07 +0000)]
Bump version

6 months agoBump version v2.11.62
Carl Hetherington [Sat, 24 Feb 2018 01:07:24 +0000 (01:07 +0000)]
Bump version

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

7 months agoBump version
Carl Hetherington [Fri, 23 Feb 2018 01:51:59 +0000 (01:51 +0000)]
Bump version

7 months agoBump version v2.11.61
Carl Hetherington [Fri, 23 Feb 2018 01:51:59 +0000 (01:51 +0000)]
Bump version

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

7 months 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.

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

7 months agoActually bump libdcp for Atmos fix.
Carl Hetherington [Thu, 22 Feb 2018 10:15:36 +0000 (10:15 +0000)]
Actually bump libdcp for Atmos fix.

7 months agoBump version
Carl Hetherington [Thu, 22 Feb 2018 01:29:41 +0000 (01:29 +0000)]
Bump version

7 months agoBump version v2.11.60
Carl Hetherington [Thu, 22 Feb 2018 01:29:41 +0000 (01:29 +0000)]
Bump version

7 months 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).

7 months agoBump libdcp; pulls in KDM tweaks but also atmos fix.
Carl Hetherington [Wed, 21 Feb 2018 22:43:44 +0000 (22:43 +0000)]
Bump libdcp; pulls in KDM tweaks but also atmos fix.

7 months agoBump version
Carl Hetherington [Wed, 21 Feb 2018 00:47:14 +0000 (00:47 +0000)]
Bump version

7 months agoBump version v2.11.59
Carl Hetherington [Wed, 21 Feb 2018 00:47:14 +0000 (00:47 +0000)]
Bump version

7 months 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...

7 months 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.

7 months agoBump version
Carl Hetherington [Sun, 18 Feb 2018 01:31:39 +0000 (01:31 +0000)]
Bump version

7 months agoBump version v2.11.58
Carl Hetherington [Sun, 18 Feb 2018 01:31:39 +0000 (01:31 +0000)]
Bump version

7 months 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.

7 months agoMerge branch 'v2.12.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.12.x
Carl Hetherington [Sun, 18 Feb 2018 00:37:45 +0000 (00:37 +0000)]
Merge branch 'v2.12.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.12.x

7 months 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.

7 months 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.

7 months agoBump version
Carl Hetherington [Sat, 17 Feb 2018 00:51:43 +0000 (00:51 +0000)]
Bump version

7 months agoBump version v2.11.57
Carl Hetherington [Sat, 17 Feb 2018 00:51:43 +0000 (00:51 +0000)]
Bump version

7 months 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.

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

7 months 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.

7 months agoMerge branch 'v2.12.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.12.x
Carl Hetherington [Fri, 16 Feb 2018 23:53:09 +0000 (23:53 +0000)]
Merge branch 'v2.12.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.12.x

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

7 months agoBump version
Carl Hetherington [Fri, 16 Feb 2018 22:18:31 +0000 (22:18 +0000)]
Bump version

7 months agoBump version v2.11.56
Carl Hetherington [Fri, 16 Feb 2018 22:18:31 +0000 (22:18 +0000)]
Bump version

7 months agoAudioDecoder::_positions is at the resampled rate, if applicable;
Carl Hetherington [Fri, 16 Feb 2018 21:54:01 +0000 (21:54 +0000)]
AudioDecoder::_positions is at the resampled rate, if applicable;
fix its initial setup.  Fixes problems when seeking deep into
resampled content; before this commit the audio time stamps got
out of whack sufficiently that the butler would fill with video
before any audio made it past the range checks.

7 months agoTry to include dcpomatic2_kdm_cli in the KDM creator .app.
Carl Hetherington [Thu, 15 Feb 2018 12:02:44 +0000 (12:02 +0000)]
Try to include dcpomatic2_kdm_cli in the KDM creator .app.

7 months agoMissing setup of configured decode reduction (#1195).
Carl Hetherington [Tue, 13 Feb 2018 10:49:23 +0000 (10:49 +0000)]
Missing setup of configured decode reduction (#1195).

7 months agoAdd some tolerance when checking audio references.
Carl Hetherington [Tue, 13 Feb 2018 10:47:22 +0000 (10:47 +0000)]
Add some tolerance when checking audio references.

7 months agoRecover test config after config_test.cc runs.
Carl Hetherington [Tue, 13 Feb 2018 01:10:03 +0000 (01:10 +0000)]
Recover test config after config_test.cc runs.

7 months agoMake Config::read() fallback match Config::set_defaults() for
Carl Hetherington [Tue, 13 Feb 2018 01:08:14 +0000 (01:08 +0000)]
Make Config::read() fallback match Config::set_defaults() for
_default_dcp_content_type.

7 months agoAdd SWS_ACCURATE_RND to sws flags. Without this, conversions to RGB in
Carl Hetherington [Mon, 12 Feb 2018 23:47:02 +0000 (23:47 +0000)]
Add SWS_ACCURATE_RND to sws flags.  Without this, conversions to RGB in
crop_scale_window_test leave the 6 pixels at the right side of the image
uninitialised (sws_scale doesn't fill them in with anything) so you get
garbage in the output.  SWS_ACCURATE_RND fixes it.  There are whisperings
that this is slow, so the impact of this patch may need to be measured
in some "real" situations.

7 months agoAdd commented-out valgrind line which can be used with gdb.
Carl Hetherington [Mon, 12 Feb 2018 23:46:45 +0000 (23:46 +0000)]
Add commented-out valgrind line which can be used with gdb.

7 months agoTone some debug messages down slightly.
Carl Hetherington [Mon, 12 Feb 2018 23:21:34 +0000 (23:21 +0000)]
Tone some debug messages down slightly.

7 months agoManual updates.
Carl Hetherington [Mon, 12 Feb 2018 21:42:08 +0000 (21:42 +0000)]
Manual updates.

7 months agoBump version
Carl Hetherington [Mon, 12 Feb 2018 00:59:29 +0000 (00:59 +0000)]
Bump version

7 months agoBump version v2.11.55
Carl Hetherington [Mon, 12 Feb 2018 00:59:29 +0000 (00:59 +0000)]
Bump version

7 months agoMore set_interop().
Carl Hetherington [Mon, 12 Feb 2018 00:58:52 +0000 (00:58 +0000)]
More set_interop().

7 months agoBump libdcp for SMPTE subtitle MXF-vs-XML ID fix.
Carl Hetherington [Mon, 12 Feb 2018 00:26:00 +0000 (00:26 +0000)]
Bump libdcp for SMPTE subtitle MXF-vs-XML ID fix.

7 months agoFix interop/SMPTE confusion.
Carl Hetherington [Mon, 12 Feb 2018 00:25:49 +0000 (00:25 +0000)]
Fix interop/SMPTE confusion.

7 months agoMore missing set_interop().
Carl Hetherington [Sun, 11 Feb 2018 00:28:19 +0000 (00:28 +0000)]
More missing set_interop().

7 months agoTry to fix test.
Carl Hetherington [Sun, 11 Feb 2018 00:19:51 +0000 (00:19 +0000)]
Try to fix test.

7 months agoBump version
Carl Hetherington [Sat, 10 Feb 2018 23:15:17 +0000 (23:15 +0000)]
Bump version

7 months agoBump version v2.11.54
Carl Hetherington [Sat, 10 Feb 2018 23:15:17 +0000 (23:15 +0000)]
Bump version

7 months agoSave decoding resolution reduction between launches (#1195).
Carl Hetherington [Sat, 10 Feb 2018 22:43:09 +0000 (22:43 +0000)]
Save decoding resolution reduction between launches (#1195).

7 months agoUse av_guess_frame_rate rather than av_stream_get_r_frame_rate;
Carl Hetherington [Sat, 10 Feb 2018 21:39:18 +0000 (21:39 +0000)]
Use av_guess_frame_rate rather than av_stream_get_r_frame_rate;
helps with #1030.  I hope this isn't a bad idea; this commit
should be reverted if there any hints of misread video frame rates.

7 months agoBump version
Carl Hetherington [Sat, 10 Feb 2018 02:05:48 +0000 (02:05 +0000)]
Bump version

7 months agoBump version v2.11.53
Carl Hetherington [Sat, 10 Feb 2018 02:05:47 +0000 (02:05 +0000)]
Bump version

7 months agoFix odd behaviour when analysing single bits of audio which start at non-zero positio...
Carl Hetherington [Sat, 10 Feb 2018 02:05:14 +0000 (02:05 +0000)]
Fix odd behaviour when analysing single bits of audio which start at non-zero positions (#1203).

7 months agoAlways pre-roll when seeking in DCPs; I don't think the performance
Carl Hetherington [Fri, 9 Feb 2018 17:07:16 +0000 (17:07 +0000)]
Always pre-roll when seeking in DCPs; I don't think the performance
hit is anything to worry about (especially compared to the time taken
to decode the next frame).

7 months agoBump version
Carl Hetherington [Fri, 9 Feb 2018 01:58:44 +0000 (01:58 +0000)]
Bump version

7 months agoBump version v2.11.52
Carl Hetherington [Fri, 9 Feb 2018 01:58:44 +0000 (01:58 +0000)]
Bump version

7 months agoFix one cause of assertion failures in audio_buffers (#1193).
Carl Hetherington [Fri, 9 Feb 2018 01:45:23 +0000 (01:45 +0000)]
Fix one cause of assertion failures in audio_buffers (#1193).

7 months agoFix letterbox/pillarbox in player (#1196).
Carl Hetherington [Fri, 9 Feb 2018 01:32:39 +0000 (01:32 +0000)]
Fix letterbox/pillarbox in player (#1196).

7 months agoUpdated ru_RU translation from Igor Voytovich.
Carl Hetherington [Fri, 9 Feb 2018 01:00:37 +0000 (01:00 +0000)]
Updated ru_RU translation from Igor Voytovich.

7 months agoBump version
Carl Hetherington [Thu, 8 Feb 2018 20:58:12 +0000 (20:58 +0000)]
Bump version

7 months agoBump version v2.11.51
Carl Hetherington [Thu, 8 Feb 2018 20:58:12 +0000 (20:58 +0000)]
Bump version

7 months agotypeid() doesn't seem to downcast, so just check types in the take_settings_from...
Carl Hetherington [Thu, 8 Feb 2018 20:57:03 +0000 (20:57 +0000)]
typeid() doesn't seem to downcast, so just check types in the take_settings_from methods (#1192).

7 months agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Carl Hetherington [Thu, 8 Feb 2018 20:42:05 +0000 (20:42 +0000)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic

7 months agoPass DCP subtitles before video so that they are present when the video frame looks...
Carl Hetherington [Thu, 8 Feb 2018 20:41:57 +0000 (20:41 +0000)]
Pass DCP subtitles before video so that they are present when the video frame looks for them.

7 months agoBump version
Carl Hetherington [Wed, 7 Feb 2018 22:37:19 +0000 (22:37 +0000)]
Bump version

7 months agoBump version v2.11.50
Carl Hetherington [Wed, 7 Feb 2018 22:37:19 +0000 (22:37 +0000)]
Bump version

7 months agoNew test.
Carl Hetherington [Wed, 7 Feb 2018 22:03:28 +0000 (22:03 +0000)]
New test.

7 months agoBump libdcp for subtitle time rounding fix.
Carl Hetherington [Wed, 7 Feb 2018 21:46:25 +0000 (21:46 +0000)]
Bump libdcp for subtitle time rounding fix.

7 months agoFix ignore/referencing logic.
Carl Hetherington [Wed, 7 Feb 2018 20:14:19 +0000 (20:14 +0000)]
Fix ignore/referencing logic.