dcpomatic.git
4 years agoMore hackz. attic/opengl
Carl Hetherington [Wed, 8 May 2019 22:20:40 +0000 (23:20 +0100)]
More hackz.

4 years agoRemove GL version setting attempt.
Carl Hetherington [Wed, 8 May 2019 22:01:07 +0000 (23:01 +0100)]
Remove GL version setting attempt.

4 years agoAdd glGetString().
Carl Hetherington [Wed, 8 May 2019 21:05:29 +0000 (22:05 +0100)]
Add glGetString().

4 years agoRemove 1024x1024 hack.
Carl Hetherington [Mon, 6 May 2019 22:26:00 +0000 (23:26 +0100)]
Remove 1024x1024 hack.

4 years agoTry asking for GL 3.
Carl Hetherington [Mon, 6 May 2019 22:14:00 +0000 (23:14 +0100)]
Try asking for GL 3.

4 years agoTry 1024x1024.
Carl Hetherington [Mon, 6 May 2019 21:38:08 +0000 (22:38 +0100)]
Try 1024x1024.

4 years agoFix.
Carl Hetherington [Mon, 6 May 2019 21:21:09 +0000 (22:21 +0100)]
Fix.

4 years agoHackz.
Carl Hetherington [Mon, 6 May 2019 21:03:58 +0000 (22:03 +0100)]
Hackz.

4 years agoFix build.
Carl Hetherington [Sat, 4 May 2019 00:23:58 +0000 (01:23 +0100)]
Fix build.

4 years agoTry to improve error when failing to load config.
Carl Hetherington [Wed, 1 May 2019 23:28:07 +0000 (00:28 +0100)]
Try to improve error when failing to load config.

4 years agoBuild fixes.
Carl Hetherington [Wed, 1 May 2019 21:45:16 +0000 (22:45 +0100)]
Build fixes.

4 years agoFix build.
Carl Hetherington [Mon, 25 Mar 2019 21:55:39 +0000 (21:55 +0000)]
Fix build.

4 years agoMore GL debugging.
Carl Hetherington [Sun, 3 Mar 2019 21:15:09 +0000 (21:15 +0000)]
More GL debugging.

4 years agoMissing Windows DLL.
Carl Hetherington [Sun, 3 Mar 2019 20:49:29 +0000 (20:49 +0000)]
Missing Windows DLL.

4 years agoMore OS X GL fixes.
Carl Hetherington [Sun, 3 Mar 2019 20:44:16 +0000 (20:44 +0000)]
More OS X GL fixes.

4 years agoTypo.
Carl Hetherington [Sun, 3 Mar 2019 18:02:52 +0000 (18:02 +0000)]
Typo.

4 years agoTry to fix GL link on OS X.
Carl Hetherington [Sun, 3 Mar 2019 17:49:40 +0000 (17:49 +0000)]
Try to fix GL link on OS X.

4 years agoMore library finding.
Carl Hetherington [Sun, 3 Mar 2019 17:07:37 +0000 (17:07 +0000)]
More library finding.

4 years agoTry to fix libglu link.
Carl Hetherington [Sun, 3 Mar 2019 16:51:15 +0000 (16:51 +0000)]
Try to fix libglu link.

4 years agoMissing #include for Windows.
Carl Hetherington [Sun, 3 Mar 2019 16:45:41 +0000 (16:45 +0000)]
Missing #include for Windows.

4 years agoRendering fixes.
Carl Hetherington [Sun, 3 Mar 2019 00:26:39 +0000 (00:26 +0000)]
Rendering fixes.

4 years agoFix rendering with odd output sizes.
Carl Hetherington [Sun, 20 Jan 2019 00:55:10 +0000 (00:55 +0000)]
Fix rendering with odd output sizes.

4 years agoDisplays content (sometimes).
Carl Hetherington [Sun, 20 Jan 2019 00:41:59 +0000 (00:41 +0000)]
Displays content (sometimes).

4 years agoVarious hacks; displays test image on klopp.
Carl Hetherington [Sun, 20 Jan 2019 00:11:20 +0000 (00:11 +0000)]
Various hacks; displays test image on klopp.

4 years agoGLView integration (not working).
Carl Hetherington [Fri, 4 Jan 2019 00:32:28 +0000 (00:32 +0000)]
GLView integration (not working).

4 years agoIncorporate GLView; requires putting Screen into dcpomatic namespace.
Carl Hetherington [Tue, 1 Jan 2019 22:48:06 +0000 (22:48 +0000)]
Incorporate GLView; requires putting Screen into dcpomatic namespace.

4 years agoPut Time types in dcpomatic namespace.
Carl Hetherington [Tue, 1 Jan 2019 18:14:46 +0000 (18:14 +0000)]
Put Time types in dcpomatic namespace.

4 years agoTweaks.
Carl Hetherington [Mon, 31 Dec 2018 20:19:33 +0000 (20:19 +0000)]
Tweaks.

4 years agoTidy error handling a little.
Carl Hetherington [Sun, 30 Dec 2018 23:31:57 +0000 (23:31 +0000)]
Tidy error handling a little.

4 years agoDisplay a 1998x1080 RGB image.
Carl Hetherington [Sun, 30 Dec 2018 23:29:17 +0000 (23:29 +0000)]
Display a 1998x1080 RGB image.

4 years agoMore tidying of example.
Carl Hetherington [Sun, 30 Dec 2018 22:30:53 +0000 (22:30 +0000)]
More tidying of example.

4 years agoTweak build script.
Carl Hetherington [Sun, 30 Dec 2018 22:20:58 +0000 (22:20 +0000)]
Tweak build script.

4 years agoTidy up test program a little.
Carl Hetherington [Sun, 30 Dec 2018 22:19:41 +0000 (22:19 +0000)]
Tidy up test program a little.

4 years agoInitial test code.
Carl Hetherington [Sun, 30 Dec 2018 22:10:34 +0000 (22:10 +0000)]
Initial test code.

4 years agoBasics of setting and storing SMPTE CPL markers.
Carl Hetherington [Fri, 15 Mar 2019 00:52:56 +0000 (00:52 +0000)]
Basics of setting and storing SMPTE CPL markers.

4 years agoValidation of certificate chains will fail before dcpomatic_setup()
Carl Hetherington [Sat, 4 May 2019 00:03:43 +0000 (01:03 +0100)]
Validation of certificate chains will fail before dcpomatic_setup()
is called, as OpenSSL has not yet been set up.

Make sure that these failures only raise a Bad() (which nobody is yet
listening to) rather than throwing an exception which gets caught
and reported as a failed-to-load config.

If none of the OpenSSL stuff is working chain_valid() will return false
but private_key_valid() will throw an exception (as it tries to get the
leaf certificate, causing a validity check).

4 years agoClose splash before displaying config errors/warnings.
Carl Hetherington [Fri, 3 May 2019 19:04:39 +0000 (20:04 +0100)]
Close splash before displaying config errors/warnings.

4 years agoBuild fixes.
Carl Hetherington [Tue, 30 Apr 2019 15:04:34 +0000 (16:04 +0100)]
Build fixes.

4 years agoAdd zip making.
Carl Hetherington [Tue, 16 Apr 2019 23:56:54 +0000 (00:56 +0100)]
Add zip making.

4 years agoTweak Makefile to use locally-built DoM.
Carl Hetherington [Tue, 16 Apr 2019 23:32:32 +0000 (00:32 +0100)]
Tweak Makefile to use locally-built DoM.

4 years agoAdd some basic test cards.
Carl Hetherington [Tue, 16 Apr 2019 23:04:06 +0000 (00:04 +0100)]
Add some basic test cards.

4 years agoAdd some docs on the swaroop variant's differences.
Carl Hetherington [Sun, 7 Apr 2019 22:08:27 +0000 (23:08 +0100)]
Add some docs on the swaroop variant's differences.

4 years agoFix mis-merge.
Carl Hetherington [Sat, 6 Apr 2019 20:16:29 +0000 (21:16 +0100)]
Fix mis-merge.

4 years agoUpdate message about chain inconsistency when removing certs (#1519).
Carl Hetherington [Sun, 31 Mar 2019 23:34:06 +0000 (00:34 +0100)]
Update message about chain inconsistency when removing certs (#1519).

4 years agoComplain on startup if signer or decryption chains are inconsistent (#1520).
Carl Hetherington [Sun, 31 Mar 2019 23:31:22 +0000 (00:31 +0100)]
Complain on startup if signer or decryption chains are inconsistent (#1520).

4 years agoDisable DKDM remove/export buttons as appropriate.
Carl Hetherington [Thu, 28 Mar 2019 01:20:16 +0000 (01:20 +0000)]
Disable DKDM remove/export buttons as appropriate.

4 years agoAdd export button for DKDMs (part of #1510).
Carl Hetherington [Thu, 28 Mar 2019 00:32:20 +0000 (00:32 +0000)]
Add export button for DKDMs (part of #1510).

4 years agoNag about deletion of DKDMs.
Carl Hetherington [Thu, 28 Mar 2019 00:12:01 +0000 (00:12 +0000)]
Nag about deletion of DKDMs.

4 years agoHide language / DCP track as appropriate with closed/open caption
Carl Hetherington [Wed, 27 Mar 2019 14:51:58 +0000 (14:51 +0000)]
Hide language / DCP track as appropriate with closed/open caption
choice.

4 years agoSupport download of certificates from Qube (#1460).
Carl Hetherington [Thu, 7 Feb 2019 23:54:07 +0000 (23:54 +0000)]
Support download of certificates from Qube (#1460).

4 years agoAdd some very basic timing of the player.
Carl Hetherington [Tue, 26 Mar 2019 14:58:43 +0000 (14:58 +0000)]
Add some very basic timing of the player.

4 years agoBump ffmpeg.
Carl Hetherington [Mon, 25 Mar 2019 22:29:29 +0000 (22:29 +0000)]
Bump ffmpeg.

4 years agoAdd namespace to fix OS X build.
Carl Hetherington [Sat, 23 Mar 2019 22:32:56 +0000 (22:32 +0000)]
Add namespace to fix OS X build.

4 years agolibdcp API fixes.
Carl Hetherington [Sat, 23 Mar 2019 08:28:47 +0000 (08:28 +0000)]
libdcp API fixes.

4 years agoUpdate for libdcp API changes.
Carl Hetherington [Fri, 22 Mar 2019 14:51:08 +0000 (14:51 +0000)]
Update for libdcp API changes.

4 years agoMissing #include.
Carl Hetherington [Fri, 22 Mar 2019 14:49:54 +0000 (14:49 +0000)]
Missing #include.

4 years agoDisable hints when there is no film.
Carl Hetherington [Thu, 21 Mar 2019 00:17:58 +0000 (00:17 +0000)]
Disable hints when there is no film.

4 years agoBasics of metadata dialog - ratings.
Carl Hetherington [Thu, 21 Mar 2019 00:10:08 +0000 (00:10 +0000)]
Basics of metadata dialog - ratings.

4 years agoTweak button label.
Carl Hetherington [Tue, 19 Mar 2019 22:34:07 +0000 (22:34 +0000)]
Tweak button label.

4 years agoHide passwords in text fields.
Carl Hetherington [Tue, 19 Mar 2019 22:30:05 +0000 (22:30 +0000)]
Hide passwords in text fields.

4 years agoTry to reduce timeout when downloading supporters lists.
Carl Hetherington [Tue, 19 Mar 2019 22:22:34 +0000 (22:22 +0000)]
Try to reduce timeout when downloading supporters lists.

4 years agoFix warning.
Carl Hetherington [Tue, 19 Mar 2019 21:37:41 +0000 (21:37 +0000)]
Fix warning.

4 years agoFix warning.
Carl Hetherington [Tue, 19 Mar 2019 21:37:31 +0000 (21:37 +0000)]
Fix warning.

4 years agoUpdate for libdcp API changes.
Carl Hetherington [Tue, 19 Mar 2019 21:37:19 +0000 (21:37 +0000)]
Update for libdcp API changes.

4 years agoBump libdcp and libsub.
Carl Hetherington [Tue, 19 Mar 2019 15:16:15 +0000 (15:16 +0000)]
Bump libdcp and libsub.

4 years agoBasics of marker writing (part of #782).
Carl Hetherington [Sun, 17 Mar 2019 01:27:02 +0000 (01:27 +0000)]
Basics of marker writing (part of #782).

4 years agoBasics of setting and storing SMPTE CPL markers.
Carl Hetherington [Fri, 15 Mar 2019 00:52:56 +0000 (00:52 +0000)]
Basics of setting and storing SMPTE CPL markers.

4 years agoSpeculative fix for white lines at the bottom of full-screen playback windows. v2.14.2
Carl Hetherington [Sun, 5 May 2019 22:42:10 +0000 (23:42 +0100)]
Speculative fix for white lines at the bottom of full-screen playback windows.

4 years agoUpdated nl_NL translation from Rob van Nieuwkerk.
Carl Hetherington [Sun, 5 May 2019 22:32:40 +0000 (23:32 +0100)]
Updated nl_NL translation from Rob van Nieuwkerk.

4 years agoStop video filters emitting frames from the old position just
Carl Hetherington [Sun, 5 May 2019 22:23:40 +0000 (22:23 +0000)]
Stop video filters emitting frames from the old position just
after a seek.

If this happens, we get sequences like

1. emit some video at time 60s
2. seek to 40s
3. video frame emitted from filter at 60.1s; this sets _last_video_time
in player so that frames emitted between 40s and 60s are discarded;
hence the audio buffers overflow.

Should fix #1551.

4 years agoFix case where the is FFmpegContent with 24fps video and 44.1kHz audio
Carl Hetherington [Sun, 5 May 2019 20:49:51 +0000 (20:49 +0000)]
Fix case where the is FFmpegContent with 24fps video and 44.1kHz audio
and a start trim of 6724000.  With these numbers the start trim is
on an integer video frame but halfway through an audio frame.  Without
this patch the trim would be "corrected" to 6724001, causing video frames
to come out of the player at DCPTimes 0, 3999, 5999 etc.

It's possible that

Frame const position = time.frames_floor(_film->video_frame_rate());

in J2KEncoder::encode should be frames_round, which would also help
with this, but that would be a much more risky patch.

4 years agoTranslate PulseAudio -> PulseAudio in all languages.
Carl Hetherington [Sun, 5 May 2019 19:23:23 +0000 (20:23 +0100)]
Translate PulseAudio -> PulseAudio in all languages.

4 years agopot/merge.
Carl Hetherington [Sun, 5 May 2019 19:21:32 +0000 (20:21 +0100)]
pot/merge.

4 years agoFix xgettext call with UTF8 source code.
Carl Hetherington [Sun, 5 May 2019 19:20:42 +0000 (20:20 +0100)]
Fix xgettext call with UTF8 source code.

4 years agoCorrect capitalisation of PulseAudio.
Carl Hetherington [Sun, 5 May 2019 19:16:28 +0000 (20:16 +0100)]
Correct capitalisation of PulseAudio.

4 years agoFix logging when loading a film. v2.14.1
Carl Hetherington [Sat, 4 May 2019 22:24:54 +0000 (22:24 +0000)]
Fix logging when loading a film.

4 years agoBuild fix for previous.
Carl Hetherington [Sat, 4 May 2019 22:00:48 +0000 (22:00 +0000)]
Build fix for previous.

4 years agoFix crash in audio mapping view in various circumstances.
Carl Hetherington [Sat, 4 May 2019 21:43:45 +0000 (21:43 +0000)]
Fix crash in audio mapping view in various circumstances.

4 years agoFix some formatting errors in the it_IT translation.
Carl Hetherington [Sat, 4 May 2019 12:51:21 +0000 (12:51 +0000)]
Fix some formatting errors in the it_IT translation.

4 years agoUpdated fr_FR translation from Thierry Journet.
Carl Hetherington [Sat, 4 May 2019 00:20:34 +0000 (00:20 +0000)]
Updated fr_FR translation from Thierry Journet.

4 years agoInclude video_frame_rate in TextContent identifier so that if (for
Carl Hetherington [Sat, 4 May 2019 00:06:54 +0000 (00:06 +0000)]
Include video_frame_rate in TextContent identifier so that if (for
example) some SRT subs are being burnt and their video frame rate is
changed we won't try to reuse the video that has been burnt with the
subs at the old frame rate.

4 years agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Carl Hetherington [Fri, 3 May 2019 22:10:29 +0000 (22:10 +0000)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic

4 years agoDisallow unsetting the frame rate on FFmpeg/DCP content (#1547).
Carl Hetherington [Fri, 3 May 2019 22:10:21 +0000 (22:10 +0000)]
Disallow unsetting the frame rate on FFmpeg/DCP content (#1547).

4 years agoIncrease unit test log level.
Carl Hetherington [Fri, 3 May 2019 14:37:23 +0000 (14:37 +0000)]
Increase unit test log level.

4 years agoFix "cannot handle pixel format 26 during make_transparent()" (part of #1545).
Carl Hetherington [Fri, 3 May 2019 14:00:19 +0000 (14:00 +0000)]
Fix "cannot handle pixel format 26 during make_transparent()" (part of #1545).

4 years agoFix/workaround crash:
Carl Hetherington [Fri, 3 May 2019 01:32:46 +0000 (01:32 +0000)]
Fix/workaround crash:

../src/common/dpycmn.cpp(119): assert "n <GetCount ()" failed in wxDisplay (): An invalid index was passed to wxDisplay

seen on Ubuntu 19.04; I can't reproduce it myself but the user reports that
this fixes it.

4 years agoUpdated nl_NL translation from Rob van Nieuwkerk.
Carl Hetherington [Thu, 2 May 2019 21:01:26 +0000 (22:01 +0100)]
Updated nl_NL translation from Rob van Nieuwkerk.

4 years agoBump libdcp/libsub versions in wscript. v2.14.0
Carl Hetherington [Tue, 30 Apr 2019 21:10:25 +0000 (21:10 +0000)]
Bump libdcp/libsub versions in wscript.

4 years agoAdd --j2k-bandwidth to dcpomatic_create. v2.13.158
Carl Hetherington [Tue, 30 Apr 2019 09:41:04 +0000 (09:41 +0000)]
Add --j2k-bandwidth to dcpomatic_create.

4 years agoAdd --fourk to dcpomatic_create.
Carl Hetherington [Tue, 30 Apr 2019 09:05:13 +0000 (10:05 +0100)]
Add --fourk to dcpomatic_create.

4 years agoIgnore the (unrouteable) FTP passive-mode IP address given by v2.13.157
Carl Hetherington [Mon, 29 Apr 2019 20:59:33 +0000 (21:59 +0100)]
Ignore the (unrouteable) FTP passive-mode IP address given by
the Dolby certificate server (#1541).

4 years agoTweak cosmetic appearance of audio mapping view. v2.13.156
Carl Hetherington [Sun, 28 Apr 2019 22:45:14 +0000 (23:45 +0100)]
Tweak cosmetic appearance of audio mapping view.

4 years agopot/merge. v2.13.155
Carl Hetherington [Sun, 28 Apr 2019 20:18:42 +0000 (21:18 +0100)]
pot/merge.

4 years agoRestore ISDCF subtitle language option as an override (#1536).
Carl Hetherington [Sun, 28 Apr 2019 20:11:21 +0000 (20:11 +0000)]
Restore ISDCF subtitle language option as an override (#1536).

4 years agoFix AudioMappingView scrolling so that only the body of the grid is scrolled. v2.13.154
Carl Hetherington [Sat, 27 Apr 2019 22:11:50 +0000 (22:11 +0000)]
Fix AudioMappingView scrolling so that only the body of the grid is scrolled.

4 years agoNudge audio mapping view sizes up a little.
Carl Hetherington [Sat, 27 Apr 2019 21:16:07 +0000 (21:16 +0000)]
Nudge audio mapping view sizes up a little.

4 years agoFix channel numbering in tooltip.
Carl Hetherington [Sat, 27 Apr 2019 11:11:27 +0000 (11:11 +0000)]
Fix channel numbering in tooltip.

4 years agoRe-work of audio mapping view to use a custom-drawn v2.13.153
Carl Hetherington [Sat, 27 Apr 2019 00:40:04 +0000 (00:40 +0000)]
Re-work of audio mapping view to use a custom-drawn
canvas rather than wxGrid.

Inspired by the accumulation of odd problems due to the use of 3
separate panels, and also the endless resizing loop weird bug #1535.

4 years agoUpdated de_DE translation from Carsten Kurz.
Carl Hetherington [Fri, 26 Apr 2019 21:34:43 +0000 (22:34 +0100)]
Updated de_DE translation from Carsten Kurz.

4 years agoMake sure at least one position change event is emitted after
Carl Hetherington [Fri, 26 Apr 2019 21:31:24 +0000 (22:31 +0100)]
Make sure at least one position change event is emitted after
a timeline drag (with frequent=false), even if lots have been sent
with frequent=true.

Otherwise the code in the CHNAGE_TYPE_DONE branch of Butler::player_change
never gets to seek (since frequent is true, it ignores the signal).
Without the seek things go wrong.

Believed to fix #1534.