dcpomatic.git
4 years agoMore tidying up.
Carl Hetherington [Thu, 21 Nov 2019 23:10:35 +0000 (00:10 +0100)]
More tidying up.

4 years agoVarious cleanups and thread-safety.
Carl Hetherington [Thu, 21 Nov 2019 22:43:23 +0000 (23:43 +0100)]
Various cleanups and thread-safety.

4 years agoRemove some friends from FilmViewer.
Carl Hetherington [Thu, 21 Nov 2019 21:38:33 +0000 (22:38 +0100)]
Remove some friends from FilmViewer.

4 years agoRemove FilmViewer::refresh_view.
Carl Hetherington [Thu, 21 Nov 2019 21:07:26 +0000 (22:07 +0100)]
Remove FilmViewer::refresh_view.

4 years agoMove _state_timer into VideoView.
Carl Hetherington [Wed, 20 Nov 2019 23:05:12 +0000 (00:05 +0100)]
Move _state_timer into VideoView.

4 years agoAccessor for ClosedCaptionsDialog.
Carl Hetherington [Wed, 20 Nov 2019 22:46:40 +0000 (23:46 +0100)]
Accessor for ClosedCaptionsDialog.

4 years agoSame thing with inter_size.
Carl Hetherington [Wed, 20 Nov 2019 22:41:58 +0000 (23:41 +0100)]
Same thing with inter_size.

4 years agoMove _inter_position out of FilmViewer.
Carl Hetherington [Wed, 20 Nov 2019 22:36:56 +0000 (23:36 +0100)]
Move _inter_position out of FilmViewer.

4 years agoMove _dropped into VideoView.
Carl Hetherington [Wed, 20 Nov 2019 22:07:55 +0000 (23:07 +0100)]
Move _dropped into VideoView.

4 years agoSmall re-use cleanup.
Carl Hetherington [Wed, 20 Nov 2019 21:30:36 +0000 (22:30 +0100)]
Small re-use cleanup.

4 years agoImplement GLView::update.
Carl Hetherington [Wed, 20 Nov 2019 21:25:40 +0000 (22:25 +0100)]
Implement GLView::update.

4 years agoDon't try opening error dialogues from the GL thread.
Carl Hetherington [Wed, 20 Nov 2019 21:18:33 +0000 (22:18 +0100)]
Don't try opening error dialogues from the GL thread.

4 years agoFix display when there is no film.
Carl Hetherington [Wed, 20 Nov 2019 20:25:55 +0000 (21:25 +0100)]
Fix display when there is no film.

4 years agoAdd comment.
Carl Hetherington [Tue, 19 Nov 2019 23:57:37 +0000 (00:57 +0100)]
Add comment.

4 years agoStart thread when the window will have been created. Fix logic error.
Carl Hetherington [Tue, 19 Nov 2019 23:50:58 +0000 (00:50 +0100)]
Start thread when the window will have been created.  Fix logic error.

4 years agoUse VideoView::one_video_frame.
Carl Hetherington [Tue, 19 Nov 2019 23:34:01 +0000 (00:34 +0100)]
Use VideoView::one_video_frame.

4 years agoNicer protection of _player_video. Always run GL thread rather than starting/stoppin...
Carl Hetherington [Tue, 19 Nov 2019 22:57:14 +0000 (23:57 +0100)]
Nicer protection of _player_video.  Always run GL thread rather than starting/stopping it.

4 years agoRemove GL context accessor and hence lock.
Carl Hetherington [Tue, 19 Nov 2019 22:06:50 +0000 (23:06 +0100)]
Remove GL context accessor and hence lock.

4 years agoNaming tweak.
Carl Hetherington [Tue, 19 Nov 2019 16:13:25 +0000 (17:13 +0100)]
Naming tweak.

4 years agoClean up access to stuff from Film.
Carl Hetherington [Tue, 19 Nov 2019 16:07:35 +0000 (17:07 +0100)]
Clean up access to stuff from Film.

4 years agoA little thread safety.
Carl Hetherington [Sun, 17 Nov 2019 17:13:36 +0000 (18:13 +0100)]
A little thread safety.

4 years agoVarious timing hacks and development.
Carl Hetherington [Wed, 6 Nov 2019 00:09:13 +0000 (01:09 +0100)]
Various timing hacks and development.

4 years agoRemove PositionChanged in favour of consumers having their own GUI-thread timers.
Carl Hetherington [Tue, 5 Nov 2019 22:51:20 +0000 (23:51 +0100)]
Remove PositionChanged in favour of consumers having their own GUI-thread timers.

4 years agoHack around changes in main branch with respect to suspend/resume.
Carl Hetherington [Tue, 5 Nov 2019 22:26:22 +0000 (23:26 +0100)]
Hack around changes in main branch with respect to suspend/resume.

4 years agoBarely-functioning GL playback with new arrangement.
Carl Hetherington [Sun, 20 Oct 2019 22:55:52 +0000 (00:55 +0200)]
Barely-functioning GL playback with new arrangement.

4 years agoAdd FIXME.
Carl Hetherington [Sun, 20 Oct 2019 21:24:32 +0000 (23:24 +0200)]
Add FIXME.

4 years agoAdd FilmViewer::time_until_next_frame.
Carl Hetherington [Sun, 20 Oct 2019 21:24:15 +0000 (23:24 +0200)]
Add FilmViewer::time_until_next_frame.

4 years agoAdd accessor for butler.
Carl Hetherington [Sun, 20 Oct 2019 21:05:59 +0000 (23:05 +0200)]
Add accessor for butler.

4 years agoMove _player_video into VideoView.
Carl Hetherington [Sun, 20 Oct 2019 21:03:27 +0000 (23:03 +0200)]
Move _player_video into VideoView.

4 years agoMove display_player_video into SimpleVideoView.
Carl Hetherington [Sun, 20 Oct 2019 20:54:45 +0000 (22:54 +0200)]
Move display_player_video into SimpleVideoView.

4 years agoMove FilmViewer::get() into SimpleVideoView.
Carl Hetherington [Sun, 20 Oct 2019 20:49:07 +0000 (22:49 +0200)]
Move FilmViewer::get() into SimpleVideoView.

4 years agoRemove temporary access to timer() method.
Carl Hetherington [Sun, 20 Oct 2019 20:24:41 +0000 (22:24 +0200)]
Remove temporary access to timer() method.

4 years agoRemove redundant FilmViewer::video_position() and use FilmViewer::position() instead.
Carl Hetherington [Sun, 20 Oct 2019 20:20:06 +0000 (22:20 +0200)]
Remove redundant FilmViewer::video_position() and use FilmViewer::position() instead.

4 years agoUse FilmViewer::{film,playing,position}()
Carl Hetherington [Sun, 20 Oct 2019 20:14:53 +0000 (22:14 +0200)]
Use FilmViewer::{film,playing,position}()

4 years agoMove ::timer into SimpleVideoView.
Carl Hetherington [Sun, 20 Oct 2019 20:13:46 +0000 (22:13 +0200)]
Move ::timer into SimpleVideoView.

4 years agoFix typo causing failures to update the preview after changing
Carl Hetherington [Tue, 7 Jan 2020 14:42:00 +0000 (14:42 +0000)]
Fix typo causing failures to update the preview after changing
end trim (#1709 and probably #1434).

4 years agoExtend the amount of allowed disagreement between the audio
Carl Hetherington [Tue, 7 Jan 2020 12:30:56 +0000 (13:30 +0100)]
Extend the amount of allowed disagreement between the audio
coming from the content and the calculated periods of silence.

It sees that there is some scope for disagreements here when
trim start/end times are rounded to frame boundaries.

Fixes #1708.

4 years agoMove credentials settings into certificate download dialogue (#1480).
Carl Hetherington [Sun, 5 Jan 2020 14:25:58 +0000 (15:25 +0100)]
Move credentials settings into certificate download dialogue (#1480).

4 years agoHappy new year.
Carl Hetherington [Sun, 5 Jan 2020 13:41:35 +0000 (14:41 +0100)]
Happy new year.

4 years agoFix failure to save screen notes when making a new one (github bug #6).
Carl Hetherington [Fri, 3 Jan 2020 01:29:24 +0000 (02:29 +0100)]
Fix failure to save screen notes when making a new one (github bug #6).

4 years agoAdd --config option to dcpomatic2 (#1703).
Carl Hetherington [Fri, 27 Dec 2019 22:40:18 +0000 (23:40 +0100)]
Add --config option to dcpomatic2 (#1703).

4 years agoAdd --version option to main DCP-o-matic.
Carl Hetherington [Fri, 27 Dec 2019 22:16:05 +0000 (23:16 +0100)]
Add --version option to main DCP-o-matic.

4 years agoTweak certficate chain dialogue layout (#1530).
Carl Hetherington [Mon, 23 Dec 2019 23:56:36 +0000 (00:56 +0100)]
Tweak certficate chain dialogue layout (#1530).

4 years agoAnother comment typo.
Carl Hetherington [Mon, 23 Dec 2019 00:11:09 +0000 (01:11 +0100)]
Another comment typo.

4 years agoFix error when trying to make DCP-o-matic DKDMs due to attempts to make
Carl Hetherington [Mon, 23 Dec 2019 00:09:36 +0000 (01:09 +0100)]
Fix error when trying to make DCP-o-matic DKDMs due to attempts to make
the validity time wider than that of the signing certificate.

4 years agoComment typo.
Carl Hetherington [Thu, 19 Dec 2019 23:27:08 +0000 (00:27 +0100)]
Comment typo.

4 years agoRemove our forcing of analyzeduration and probesize as they seem to
Carl Hetherington [Thu, 19 Dec 2019 22:56:49 +0000 (22:56 +0000)]
Remove our forcing of analyzeduration and probesize as they seem to
cause weird problems when scanning some files.  The unit test case
added here is a case in point: before this patch one
stream reported an incorrect channel count and sample rate.

It's a bit worrying as these parameters have been in DoM for many years,
but perhaps they have become unnecessary / harmful with changes to FFmpeg.

4 years agoAdd an output audio matrix (#1482).
Carl Hetherington [Wed, 18 Dec 2019 00:09:25 +0000 (01:09 +0100)]
Add an output audio matrix (#1482).

4 years agoMove sound output driver selection into new preferences tab.
Carl Hetherington [Tue, 17 Dec 2019 21:51:23 +0000 (22:51 +0100)]
Move sound output driver selection into new preferences tab.

4 years agoAdd an assertion.
Carl Hetherington [Thu, 19 Dec 2019 12:53:30 +0000 (13:53 +0100)]
Add an assertion.

4 years agoAccept float fps when getting timecodes from the Timecode control
Carl Hetherington [Wed, 18 Dec 2019 22:38:52 +0000 (23:38 +0100)]
Accept float fps when getting timecodes from the Timecode control
otherwise inaccurate values are returned for non-integer rates.
Should fix #1694.

Forward-ported from 1229de2042c785a9e851e5fc53922a75bfbf195d in master.

4 years agoAdd missing library to OS X build. v2.15.39
Carl Hetherington [Tue, 17 Dec 2019 08:38:46 +0000 (09:38 +0100)]
Add missing library to OS X build.

4 years agoAllow configuration of relevant log levels in the player (#1549).
Carl Hetherington [Tue, 17 Dec 2019 00:33:31 +0000 (01:33 +0100)]
Allow configuration of relevant log levels in the player (#1549).

4 years agoFlush audio decoder when a DCPDecoder finishes so that
Carl Hetherington [Mon, 16 Dec 2019 23:00:12 +0000 (23:00 +0000)]
Flush audio decoder when a DCPDecoder finishes so that
resamplers are emptied and hence we don't lose any
samples.  Fixes #1691.

Back-ported from 1444299fa4582fc65c5237edd6c115921f20f872 in master.

4 years agoSort out test/data commit history a little. v2.15.38
Carl Hetherington [Sun, 15 Dec 2019 22:30:27 +0000 (23:30 +0100)]
Sort out test/data commit history a little.

4 years agoStop empty Font IDs in imported DCP subtitles making it into the
Carl Hetherington [Sun, 15 Dec 2019 21:59:36 +0000 (22:59 +0100)]
Stop empty Font IDs in imported DCP subtitles making it into the
output DCP (#1689).

4 years agoUpdated test reference for new metadata tag.
Carl Hetherington [Sun, 15 Dec 2019 14:34:17 +0000 (15:34 +0100)]
Updated test reference for new metadata tag.

4 years agoSupport content version metadata (#782).
Carl Hetherington [Sat, 14 Dec 2019 23:47:53 +0000 (00:47 +0100)]
Support content version metadata (#782).

4 years agoAdd some missing verification messages.
Carl Hetherington [Sat, 14 Dec 2019 23:47:33 +0000 (00:47 +0100)]
Add some missing verification messages.

4 years agoTypo in installation copying.
Carl Hetherington [Sat, 14 Dec 2019 23:19:16 +0000 (00:19 +0100)]
Typo in installation copying.

4 years agoFix typo.
Carl Hetherington [Sat, 14 Dec 2019 01:20:02 +0000 (02:20 +0100)]
Fix typo.

4 years agoFix xerces win32 wscript typo.
Carl Hetherington [Sat, 14 Dec 2019 00:41:37 +0000 (01:41 +0100)]
Fix xerces win32 wscript typo.

4 years agoTry a simpler, monochrome icon for the server taskbar icon in macOS (#1670).
Carl Hetherington [Fri, 13 Dec 2019 22:33:47 +0000 (23:33 +0100)]
Try a simpler, monochrome icon for the server taskbar icon in macOS (#1670).

4 years agoUse the new libdcp xerces stuff and install the required supporting files.
Carl Hetherington [Wed, 11 Dec 2019 11:56:03 +0000 (12:56 +0100)]
Use the new libdcp xerces stuff and install the required supporting files.

4 years agoMake terminate_threads() less likely to leave _threads containing invalid pointers.
Carl Hetherington [Tue, 10 Dec 2019 22:43:09 +0000 (22:43 +0000)]
Make terminate_threads() less likely to leave _threads containing invalid pointers.

Backported from f0c10e92b849566e458bc323f8783a6fe83e52d2 in master.

4 years agoFix crash on hotkey-opening the menu then pressing right a few times.
Carl Hetherington [Tue, 10 Dec 2019 23:04:56 +0000 (00:04 +0100)]
Fix crash on hotkey-opening the menu then pressing right a few times.

4 years agodcpomatic_create should respond to --version on stdout, not stderr (#1686).
Carl Hetherington [Mon, 9 Dec 2019 23:01:01 +0000 (00:01 +0100)]
dcpomatic_create should respond to --version on stdout, not stderr (#1686).

4 years agoThrow errors from CPLSummary constructor if the DCP::read reported any problems.
Carl Hetherington [Sun, 8 Dec 2019 15:28:48 +0000 (16:28 +0100)]
Throw errors from CPLSummary constructor if the DCP::read reported any problems.

4 years agoAdjust for changes to libdcp API.
Carl Hetherington [Fri, 6 Dec 2019 14:26:19 +0000 (15:26 +0100)]
Adjust for changes to libdcp API.

4 years agoAdd openssl licence to source tree. v2.15.37
Carl Hetherington [Wed, 4 Dec 2019 21:51:56 +0000 (22:51 +0100)]
Add openssl licence to source tree.

4 years agoPackage a patched openssl which creates certificates with
Carl Hetherington [Tue, 3 Dec 2019 20:47:27 +0000 (21:47 +0100)]
Package a patched openssl which creates certificates with
a validity period starting a week before now; fixes #1422.

4 years agoWhitespace fixes.
Carl Hetherington [Tue, 3 Dec 2019 20:51:42 +0000 (21:51 +0100)]
Whitespace fixes.

4 years agoasdcplib now suffixed with -carl not -cth.
Carl Hetherington [Tue, 3 Dec 2019 16:20:59 +0000 (17:20 +0100)]
asdcplib now suffixed with -carl not -cth.

4 years agoMerge branch 'v2.15.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.15.x
Carl Hetherington [Tue, 3 Dec 2019 10:21:43 +0000 (11:21 +0100)]
Merge branch 'v2.15.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.15.x

4 years agortaudio repo tidied up; should be no code changes.
Carl Hetherington [Tue, 3 Dec 2019 10:21:27 +0000 (11:21 +0100)]
rtaudio repo tidied up; should be no code changes.

4 years agoAdjust some test KDM timings so as not to trip the certificate validity period warning.
Carl Hetherington [Mon, 2 Dec 2019 23:52:32 +0000 (00:52 +0100)]
Adjust some test KDM timings so as not to trip the certificate validity period warning.

4 years ago.gitignore update.
Carl Hetherington [Sun, 1 Dec 2019 23:08:35 +0000 (00:08 +0100)]
.gitignore update.

4 years agoUpdate test/data after changes to audio PTS handling in export.
Carl Hetherington [Sun, 1 Dec 2019 22:32:15 +0000 (23:32 +0100)]
Update test/data after changes to audio PTS handling in export.

4 years agoNice error when a KDM cannot be made because its validity period is not within the...
Carl Hetherington [Sun, 1 Dec 2019 22:15:03 +0000 (23:15 +0100)]
Nice error when a KDM cannot be made because its validity period is not within the signing certificate chain's validity period.

4 years agoFix audio pts accuracy from previous.
Carl Hetherington [Sun, 1 Dec 2019 13:48:59 +0000 (14:48 +0100)]
Fix audio pts accuracy from previous.

4 years agoSome drive discovery hacks.
Carl Hetherington [Sat, 30 Nov 2019 23:52:31 +0000 (00:52 +0100)]
Some drive discovery hacks.

4 years agoMore accurate calculation of export video pts; may fix #1663.
Carl Hetherington [Sat, 30 Nov 2019 21:34:53 +0000 (22:34 +0100)]
More accurate calculation of export video pts; may fix #1663.

Also specify audio pts on the way in to the encoder to stop FFmpeg
complaining.

4 years agoTry to improve the checking for overwrite of export files a little
Carl Hetherington [Sat, 30 Nov 2019 21:34:19 +0000 (22:34 +0100)]
Try to improve the checking for overwrite of export files a little
on Linux; I think we need to do it ourselves rather than relying
on wxFileDialog.

4 years agoSome more pts timing analysis.
Carl Hetherington [Sat, 30 Nov 2019 21:18:44 +0000 (22:18 +0100)]
Some more pts timing analysis.

4 years agoDon't say we're encoding at 0fps when we're waiting for the timing history to stablise.
Carl Hetherington [Sat, 30 Nov 2019 20:17:22 +0000 (21:17 +0100)]
Don't say we're encoding at 0fps when we're waiting for the timing history to stablise.

4 years agoCut down the time before fps starts to be reported for export jobs.
Carl Hetherington [Sat, 30 Nov 2019 20:10:13 +0000 (21:10 +0100)]
Cut down the time before fps starts to be reported for export jobs.

4 years agoFix crash when exporting a 2D project containing 3D content (#1680).
Carl Hetherington [Sat, 30 Nov 2019 19:25:48 +0000 (20:25 +0100)]
Fix crash when exporting a 2D project containing 3D content (#1680).

4 years agoCatch attempts to make a DCP when all content has been trimmed to zero length.
Carl Hetherington [Fri, 29 Nov 2019 16:01:51 +0000 (17:01 +0100)]
Catch attempts to make a DCP when all content has been trimmed to zero length.

4 years agoAdd the same fonts.conf change that OS X has to Windows so that it,
Carl Hetherington [Tue, 26 Nov 2019 19:26:22 +0000 (20:26 +0100)]
Add the same fonts.conf change that OS X has to Windows so that it,
too, can do fake bold/italic (slanted/oblique).  It looks like this
is necessary to see italics with the bundled fonts.

4 years agoNag amount is now in Euros.
Carl Hetherington [Tue, 26 Nov 2019 22:09:44 +0000 (23:09 +0100)]
Nag amount is now in Euros.

4 years agoAccept EmptyAssetPathError if it does not lead to anything worse.
Carl Hetherington [Sun, 24 Nov 2019 22:33:48 +0000 (23:33 +0100)]
Accept EmptyAssetPathError if it does not lead to anything worse.

4 years agoIgnore vim-lsp.log.
Carl Hetherington [Sat, 23 Nov 2019 09:55:05 +0000 (10:55 +0100)]
Ignore vim-lsp.log.

4 years agoPut the timecode next to the rewind-to-0 button to help avoid mouse-slips (#1234). v2.15.36
Carl Hetherington [Wed, 20 Nov 2019 11:57:13 +0000 (12:57 +0100)]
Put the timecode next to the rewind-to-0 button to help avoid mouse-slips (#1234).

4 years agoRestore checking of 2D files that are incorrectly set as 3D.
Carl Hetherington [Wed, 20 Nov 2019 11:35:24 +0000 (12:35 +0100)]
Restore checking of 2D files that are incorrectly set as 3D.

4 years agoDon't announce job is finished until things have been torn down; may help with #1674.
Carl Hetherington [Tue, 19 Nov 2019 23:08:09 +0000 (00:08 +0100)]
Don't announce job is finished until things have been torn down; may help with #1674.

4 years agoFix problems with playing back 3D DCPs and with inserting 3D DCPs
Carl Hetherington [Tue, 19 Nov 2019 21:39:38 +0000 (22:39 +0100)]
Fix problems with playing back 3D DCPs and with inserting 3D DCPs
in 2D projects.  Also add some tests.

4 years agoMore adventures in GCC warning flags. v2.15.35
Carl Hetherington [Sun, 17 Nov 2019 22:10:31 +0000 (23:10 +0100)]
More adventures in GCC warning flags.

4 years agoDon't use -Wno-deprecated-copy on older GCC. v2.15.34
Carl Hetherington [Sun, 17 Nov 2019 20:41:46 +0000 (21:41 +0100)]
Don't use -Wno-deprecated-copy on older GCC.

4 years agoQuell some warnings.
Carl Hetherington [Sun, 17 Nov 2019 11:20:33 +0000 (12:20 +0100)]
Quell some warnings.

4 years agoFix casting of bytes to words, and hence (hopefully) finally fix incorrect bitmapped...
Carl Hetherington [Sun, 17 Nov 2019 18:00:36 +0000 (19:00 +0100)]
Fix casting of bytes to words, and hence (hopefully) finally fix incorrect bitmapped subtitle colours.