dcpomatic.git
6 years agoName threads on Linux.
Carl Hetherington [Fri, 16 Feb 2018 20:24:37 +0000 (20:24 +0000)]
Name threads on Linux.

6 years 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.

6 years agoBuild fixes.
Carl Hetherington [Wed, 14 Feb 2018 23:27:27 +0000 (23:27 +0000)]
Build fixes.

6 years agoAdd Mart Jansink as author.
Carl Hetherington [Wed, 14 Feb 2018 23:23:16 +0000 (23:23 +0000)]
Add Mart Jansink as author.

6 years agoAdapt for changes to disable_forensic variable types in libdcp.
Carl Hetherington [Wed, 14 Feb 2018 23:17:24 +0000 (23:17 +0000)]
Adapt for changes to disable_forensic variable types in libdcp.

6 years agoTidy up option parsing a little.
Carl Hetherington [Wed, 14 Feb 2018 23:10:45 +0000 (23:10 +0000)]
Tidy up option parsing a little.

6 years agoWhitespace and small stylistic tweaks.
Carl Hetherington [Wed, 14 Feb 2018 22:40:12 +0000 (22:40 +0000)]
Whitespace and small stylistic tweaks.

6 years agoDon't disable forensic marking by default.
Mart Jansink [Tue, 13 Feb 2018 12:29:25 +0000 (13:29 +0100)]
Don't disable forensic marking by default.

6 years agoCorrectly handle multiple cinemas and multiple screens per cinema.
Mart Jansink [Mon, 12 Feb 2018 21:01:42 +0000 (22:01 +0100)]
Correctly handle multiple cinemas and multiple screens per cinema.

6 years agoOptionally write the KDMs to the stdout.
Mart Jansink [Mon, 12 Feb 2018 17:16:18 +0000 (18:16 +0100)]
Optionally write the KDMs to the stdout.

6 years agoMake the KDM's id available to the filename format.
Mart Jansink [Mon, 12 Feb 2018 14:38:35 +0000 (15:38 +0100)]
Make the KDM's id available to the filename format.

6 years agoOptionally provide a custom filename and container name format via the CLI arguments.
Mart Jansink [Mon, 12 Feb 2018 17:15:59 +0000 (18:15 +0100)]
Optionally provide a custom filename and container name format via the CLI arguments.

6 years agoAllow cinemas and DKDMs to be specified manually via the CLI arguments.
Mart Jansink [Mon, 12 Feb 2018 13:38:35 +0000 (14:38 +0100)]
Allow cinemas and DKDMs to be specified manually via the CLI arguments.

6 years agoAllow the missing full "valid-duration" argument.
Mart Jansink [Fri, 9 Feb 2018 13:35:01 +0000 (14:35 +0100)]
Allow the missing full "valid-duration" argument.

6 years agoAdd the "Multiple Modified Transitional 1" KDM formulation.
Mart Jansink [Fri, 9 Feb 2018 10:22:44 +0000 (11:22 +0100)]
Add the "Multiple Modified Transitional 1" KDM formulation.

6 years 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).

6 years 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.

6 years 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.

6 years 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.

6 years 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.

6 years 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.

6 years 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.

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

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

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

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

6 years 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.

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

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

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

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

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

6 years 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).

6 years 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.

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

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

6 years 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).

6 years 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).

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

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

6 years 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).

6 years 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).

6 years 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.

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

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

6 years 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).

6 years 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

6 years 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.

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

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

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

6 years 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.

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

6 years agoSlightly better log message.
Carl Hetherington [Wed, 7 Feb 2018 20:14:12 +0000 (20:14 +0000)]
Slightly better log message.

6 years agoFix failure to parse subtitle files with OS X line endings.
Carl Hetherington [Tue, 6 Feb 2018 20:03:59 +0000 (20:03 +0000)]
Fix failure to parse subtitle files with OS X line endings.

6 years agoBump version
Carl Hetherington [Tue, 6 Feb 2018 01:57:54 +0000 (01:57 +0000)]
Bump version

6 years agoBump version v2.11.49
Carl Hetherington [Tue, 6 Feb 2018 01:57:54 +0000 (01:57 +0000)]
Bump version

6 years agoIgnore video/audio when it is referenced; should help with #1191.
Carl Hetherington [Tue, 6 Feb 2018 01:57:28 +0000 (01:57 +0000)]
Ignore video/audio when it is referenced; should help with #1191.

6 years agoMissing setup of sensitivity in DCP panel.
Carl Hetherington [Mon, 5 Feb 2018 22:37:08 +0000 (22:37 +0000)]
Missing setup of sensitivity in DCP panel.

6 years agoAdd nascent ar_LB to cscript to fix RPM builds.
Carl Hetherington [Mon, 5 Feb 2018 20:35:04 +0000 (20:35 +0000)]
Add nascent ar_LB to cscript to fix RPM builds.

6 years agoMake KDMs active again even without encryption so you can fiddle with the cinemas...
Carl Hetherington [Mon, 5 Feb 2018 19:58:05 +0000 (19:58 +0000)]
Make KDMs active again even without encryption so you can fiddle with the cinemas/screens list etc.

6 years agoWarning fixes.
Carl Hetherington [Mon, 5 Feb 2018 01:06:25 +0000 (01:06 +0000)]
Warning fixes.

6 years agoBump version
Carl Hetherington [Mon, 5 Feb 2018 00:53:45 +0000 (00:53 +0000)]
Bump version

6 years agoBump version v2.11.48
Carl Hetherington [Mon, 5 Feb 2018 00:53:45 +0000 (00:53 +0000)]
Bump version

6 years agoLet's try disabling KDM menu options when we are using non-encrypted films.
Carl Hetherington [Mon, 5 Feb 2018 00:53:22 +0000 (00:53 +0000)]
Let's try disabling KDM menu options when we are using non-encrypted films.

6 years agoThrow an exception if we try to make KDMs for an unencrypted project (#1188).
Carl Hetherington [Mon, 5 Feb 2018 00:40:51 +0000 (00:40 +0000)]
Throw an exception if we try to make KDMs for an unencrypted project (#1188).

6 years agoFix KDM target buttons for DKDMs too (#1137).
Carl Hetherington [Mon, 5 Feb 2018 00:21:42 +0000 (00:21 +0000)]
Fix KDM target buttons for DKDMs too (#1137).

6 years agoListen for server replies on different ports on main and batch, and get servers to...
Carl Hetherington [Sun, 4 Feb 2018 23:38:08 +0000 (23:38 +0000)]
Listen for server replies on different ports on main and batch, and get servers to send replies to both (#1190).

6 years agoUpdated de_DE translation from Carsten Kurz.
Carl Hetherington [Sat, 3 Feb 2018 10:23:34 +0000 (10:23 +0000)]
Updated de_DE translation from Carsten Kurz.

6 years agoTry relaxing image check slightly.
Carl Hetherington [Sat, 3 Feb 2018 00:53:51 +0000 (00:53 +0000)]
Try relaxing image check slightly.

6 years agoWhitespace.
Carl Hetherington [Fri, 2 Feb 2018 23:58:33 +0000 (23:58 +0000)]
Whitespace.

6 years agoPrior to 2537a2d Decoder::position() was not updated if a decoder emitted
Carl Hetherington [Fri, 2 Feb 2018 23:47:46 +0000 (23:47 +0000)]
Prior to 2537a2d Decoder::position() was not updated if a decoder emitted
data which were ignored by the Player.

2537a2d changed this so that Decoder::position() is always updated, as it could
not see the point of the previous behaviour.

It now seems that the behaviour prior to 2537a2d fixed problems with cases like
remake_with_subtitle_test. With this test the FFmpeg content happens to emit
a final frame just after its end point with a gap before it.  Code prior to
2537a2d handled this by making sure that FFmpegDecoder::flush() filled the gap (it reads
VideoDecoder::position and fills the gap at the end of content accordingly).

This no longer works if VideoDecoder::position is updated to take into account
the emitted (and ignored) frame just after the end of the content.

This commit re-fixes that problem by a different means; Player::video now
fills the gaps in this case by more careful handling of received data which is
off the end of the content.

6 years agoRelayout player information after it changes. Should help with #1185.
Carl Hetherington [Fri, 2 Feb 2018 23:05:25 +0000 (23:05 +0000)]
Relayout player information after it changes.  Should help with #1185.

6 years agoPossible fix for film_metadata_test.
Carl Hetherington [Fri, 2 Feb 2018 22:13:53 +0000 (22:13 +0000)]
Possible fix for film_metadata_test.

6 years agoA number of unit test fixes.
Carl Hetherington [Fri, 2 Feb 2018 21:56:27 +0000 (21:56 +0000)]
A number of unit test fixes.

6 years agoFix incorrect test subtitle gathering; fix a few missing standard-setting calls.
Carl Hetherington [Fri, 2 Feb 2018 21:23:03 +0000 (21:23 +0000)]
Fix incorrect test subtitle gathering; fix a few missing standard-setting calls.

6 years agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Carl Hetherington [Fri, 2 Feb 2018 17:23:28 +0000 (17:23 +0000)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic

6 years agoFix incorrect pixel format on subtitles when they are sent to encoding servers.
Carl Hetherington [Fri, 2 Feb 2018 17:23:25 +0000 (17:23 +0000)]
Fix incorrect pixel format on subtitles when they are sent to encoding servers.

6 years agoFix ar_LB character set.
Carl Hetherington [Fri, 2 Feb 2018 15:37:34 +0000 (15:37 +0000)]
Fix ar_LB character set.

6 years agoStarting point for ar_LB translation.
Carl Hetherington [Fri, 2 Feb 2018 15:32:40 +0000 (15:32 +0000)]
Starting point for ar_LB translation.

6 years agoRemove some debugging code.
Carl Hetherington [Fri, 2 Feb 2018 09:57:29 +0000 (09:57 +0000)]
Remove some debugging code.

6 years agoUpdated de_DE translation from Carsten Kurz.
Carl Hetherington [Fri, 2 Feb 2018 09:56:40 +0000 (09:56 +0000)]
Updated de_DE translation from Carsten Kurz.

6 years agoMerge.
Carl Hetherington [Thu, 1 Feb 2018 22:55:05 +0000 (22:55 +0000)]
Merge.

6 years agoDon't select video streams for which we have no codec; warn in log about streams...
Carl Hetherington [Thu, 1 Feb 2018 22:54:50 +0000 (22:54 +0000)]
Don't select video streams for which we have no codec; warn in log about streams with no codec (#1184).

6 years agoFix up .po files; nothing to see here!
Carl Hetherington [Thu, 1 Feb 2018 17:05:51 +0000 (17:05 +0000)]
Fix up .po files; nothing to see here!

6 years agoTypo kHz -> Hz.
Carl Hetherington [Thu, 1 Feb 2018 16:50:13 +0000 (16:50 +0000)]
Typo kHz -> Hz.

6 years agoUpdated sv_SE translation from Adam Klotblixt.
Carl Hetherington [Thu, 1 Feb 2018 13:31:30 +0000 (13:31 +0000)]
Updated sv_SE translation from Adam Klotblixt.

6 years agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Carl Hetherington [Thu, 1 Feb 2018 13:25:59 +0000 (13:25 +0000)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic

6 years agoUpdated nl_NL translation from Rob van Nieuwkerk.
Carl Hetherington [Thu, 1 Feb 2018 09:07:58 +0000 (09:07 +0000)]
Updated nl_NL translation from Rob van Nieuwkerk.

6 years agoEnable audio by default.
Carl Hetherington [Thu, 1 Feb 2018 00:43:14 +0000 (00:43 +0000)]
Enable audio by default.

6 years agoMore manual tweaks.
Carl Hetherington [Thu, 1 Feb 2018 00:37:51 +0000 (00:37 +0000)]
More manual tweaks.

6 years agoManual tweaks.
Carl Hetherington [Thu, 1 Feb 2018 00:23:30 +0000 (00:23 +0000)]
Manual tweaks.

6 years agoBump version
Carl Hetherington [Thu, 1 Feb 2018 00:03:15 +0000 (00:03 +0000)]
Bump version

6 years agoBump version v2.11.47
Carl Hetherington [Thu, 1 Feb 2018 00:03:15 +0000 (00:03 +0000)]
Bump version

6 years agopot/merge.
Carl Hetherington [Thu, 1 Feb 2018 00:02:26 +0000 (00:02 +0000)]
pot/merge.

6 years agoTweak label as suggested by Carsten.
Carl Hetherington [Wed, 31 Jan 2018 23:58:50 +0000 (23:58 +0000)]
Tweak label as suggested by Carsten.

6 years agoI think fix_conflicting_settings is now not required.
Carl Hetherington [Wed, 31 Jan 2018 23:55:14 +0000 (23:55 +0000)]
I think fix_conflicting_settings is now not required.

6 years agoDisable DCP panel stuff which cannot be altered when a DCP is being referenced.
Carl Hetherington [Wed, 31 Jan 2018 23:50:57 +0000 (23:50 +0000)]
Disable DCP panel stuff which cannot be altered when a DCP is being referenced.

6 years agoRound seek on jump-to-selected to work around problems with sub-frame seeks and the...
Carl Hetherington [Wed, 31 Jan 2018 23:10:10 +0000 (23:10 +0000)]
Round seek on jump-to-selected to work around problems with sub-frame seeks and the DCP decoder (#1177).

6 years agoMake Cmd-W close the current file in the player on OS X (part of #1180).
Carl Hetherington [Wed, 31 Jan 2018 22:18:31 +0000 (22:18 +0000)]
Make Cmd-W close the current file in the player on OS X (part of #1180).