dcpomatic.git
2 years agoVarious alignment tidying/fixups.
Carl Hetherington [Wed, 22 Sep 2021 22:09:47 +0000 (00:09 +0200)]
Various alignment tidying/fixups.

2 years agoRemove unused using
Carl Hetherington [Wed, 22 Sep 2021 22:07:26 +0000 (00:07 +0200)]
Remove unused using

2 years agoUpdate design doc.
Carl Hetherington [Wed, 22 Sep 2021 22:06:23 +0000 (00:06 +0200)]
Update design doc.

2 years agoReplace aligned bool with enum Alignment.
Carl Hetherington [Wed, 15 Sep 2021 21:36:21 +0000 (23:36 +0200)]
Replace aligned bool with enum Alignment.

2 years agoVarious alignment adjustments.
Carl Hetherington [Tue, 14 Sep 2021 23:00:33 +0000 (01:00 +0200)]
Various alignment adjustments.

2 years agoSome const correctness.
Carl Hetherington [Tue, 14 Sep 2021 22:42:15 +0000 (00:42 +0200)]
Some const correctness.

2 years agoAllow RGB24 in textures.
Carl Hetherington [Tue, 14 Sep 2021 19:25:18 +0000 (21:25 +0200)]
Allow RGB24 in textures.

2 years agoSupport subs and tidy up a few things.
Carl Hetherington [Tue, 14 Sep 2021 19:11:56 +0000 (21:11 +0200)]
Support subs and tidy up a few things.

2 years agoAdd accessor for _text.
Carl Hetherington [Mon, 13 Sep 2021 23:36:50 +0000 (01:36 +0200)]
Add accessor for _text.

2 years agoSetup Butler::_prepare_only_proxy on construction.
Carl Hetherington [Mon, 13 Sep 2021 23:36:38 +0000 (01:36 +0200)]
Setup Butler::_prepare_only_proxy on construction.

2 years agoRename image -> video.
Carl Hetherington [Mon, 13 Sep 2021 19:37:05 +0000 (21:37 +0200)]
Rename image -> video.

2 years agoMove some stuff inside Texture.
Carl Hetherington [Mon, 13 Sep 2021 11:57:20 +0000 (13:57 +0200)]
Move some stuff inside Texture.

2 years agoAdd basic Texture wrapper for a GL texture.
Carl Hetherington [Sun, 12 Sep 2021 23:13:30 +0000 (01:13 +0200)]
Add basic Texture wrapper for a GL texture.

2 years agoRename _size -> _video_size
Carl Hetherington [Sun, 12 Sep 2021 22:52:16 +0000 (00:52 +0200)]
Rename _size -> _video_size

2 years agoTweak some comments.
Carl Hetherington [Sun, 12 Sep 2021 22:25:59 +0000 (00:25 +0200)]
Tweak some comments.

2 years agoExtract indices array and make some offset constants.
Carl Hetherington [Sun, 12 Sep 2021 22:21:44 +0000 (00:21 +0200)]
Extract indices array and make some offset constants.

2 years agoRename _texture -> _video_texture.
Carl Hetherington [Sun, 12 Sep 2021 22:06:59 +0000 (00:06 +0200)]
Rename _texture -> _video_texture.

2 years agoWhen the player is used in OpenGL mode, pass unscaled XYZ data through to the shader...
Carl Hetherington [Sat, 11 Sep 2021 16:52:05 +0000 (18:52 +0200)]
When the player is used in OpenGL mode, pass unscaled XYZ data through to the shader and do colourspace conversion there.

2 years agoFix GL information fetching.
Carl Hetherington [Sat, 11 Sep 2021 23:26:47 +0000 (01:26 +0200)]
Fix GL information fetching.

2 years agoC++11 tidying.
Carl Hetherington [Tue, 8 Jun 2021 22:17:13 +0000 (00:17 +0200)]
C++11 tidying.

2 years agoTidy ownership/lifetime of GLVideoView to fix crashes on close.
Carl Hetherington [Sat, 11 Sep 2021 23:09:03 +0000 (01:09 +0200)]
Tidy ownership/lifetime of GLVideoView to fix crashes on close.

2 years agoRe-work OpenGL video view to use modern shaders / APIs.
Carl Hetherington [Sat, 17 Apr 2021 23:03:52 +0000 (01:03 +0200)]
Re-work OpenGL video view to use modern shaders / APIs.

2 years agoAdd some OpenGL-related notes and hacks.
Carl Hetherington [Sat, 17 Apr 2021 23:10:47 +0000 (01:10 +0200)]
Add some OpenGL-related notes and hacks.

2 years agoAdd new GLError constructor.
Carl Hetherington [Wed, 8 Sep 2021 23:03:15 +0000 (01:03 +0200)]
Add new GLError constructor.

2 years agoRemove unnecessary _out_size; it looks like we can just use the image size.
Carl Hetherington [Thu, 9 Sep 2021 19:06:31 +0000 (21:06 +0200)]
Remove unnecessary _out_size; it looks like we can just use the image size.

2 years agoMerge branch 'own-config' into v2.15.x
Carl Hetherington [Mon, 27 Sep 2021 09:55:27 +0000 (11:55 +0200)]
Merge branch 'own-config' into v2.15.x

This makes 2.15.x copy the 2.14.x configuration so you can run 2.14.x
again afterwards without recreating everything.

2 years agoRemove unused method. own-config
Carl Hetherington [Mon, 27 Sep 2021 09:45:00 +0000 (11:45 +0200)]
Remove unused method.

2 years agoAdd config location versioning (#2090).
Carl Hetherington [Sat, 25 Sep 2021 22:09:04 +0000 (00:09 +0200)]
Add config location versioning (#2090).

2 years agoRemove some unused using statements.
Carl Hetherington [Sat, 25 Sep 2021 22:08:46 +0000 (00:08 +0200)]
Remove some unused using statements.

2 years agoPrefer %userprofile% to %homedrive% and %homepath% for home directory location on...
Carl Hetherington [Sun, 26 Sep 2021 19:42:02 +0000 (21:42 +0200)]
Prefer %userprofile% to %homedrive% and %homepath% for home directory location on Windows.

For some strange reason on my laptop %HOMEDRIVE% comes up as z:\
whereas %userprofile% makes more sense.

2 years agoCopy gdk-pixbuf-2.0 stuff and fix LD_LIBRARY_PATH to make SVG icons work (#1996).
cah [Sun, 26 Sep 2021 17:48:35 +0000 (19:48 +0200)]
Copy gdk-pixbuf-2.0 stuff and fix LD_LIBRARY_PATH to make SVG icons work (#1996).

2 years agoRead ISDCF Metadata from 2.14.x metadata (#2083).
cah [Sat, 25 Sep 2021 18:38:58 +0000 (20:38 +0200)]
Read ISDCF Metadata from 2.14.x metadata (#2083).

2 years agoSpeculative Ubuntu 21.10 support.
Carl Hetherington [Tue, 21 Sep 2021 22:37:13 +0000 (00:37 +0200)]
Speculative Ubuntu 21.10 support.

2 years agoRemove some now-unused libwxgtk dependencies.
Carl Hetherington [Tue, 21 Sep 2021 22:30:56 +0000 (00:30 +0200)]
Remove some now-unused libwxgtk dependencies.

2 years agoTweak formatting. v2.15.162
Carl Hetherington [Wed, 8 Sep 2021 23:03:03 +0000 (01:03 +0200)]
Tweak formatting.

2 years agoBump library versions for new mxe.
Carl Hetherington [Fri, 18 Jun 2021 13:08:21 +0000 (15:08 +0200)]
Bump library versions for new mxe.

2 years agoSwitch wx-3.0 -> wx-3.1 on Windows.
Carl Hetherington [Wed, 16 Jun 2021 23:06:25 +0000 (01:06 +0200)]
Switch wx-3.0 -> wx-3.1 on Windows.

2 years agoOnly define UNICODE in src/lib/{cross_windows,util}.cc.
Carl Hetherington [Tue, 15 Jun 2021 22:59:19 +0000 (00:59 +0200)]
Only define UNICODE in src/lib/{cross_windows,util}.cc.

2 years agoExtract colours to VideoView.
Carl Hetherington [Thu, 9 Sep 2021 18:29:44 +0000 (20:29 +0200)]
Extract colours to VideoView.

2 years agoFix incorrect display of Unicode literal on Windows.
Carl Hetherington [Wed, 8 Sep 2021 22:46:48 +0000 (00:46 +0200)]
Fix incorrect display of Unicode literal on Windows.

2 years agoMove 'show in file manager' code to cross_*
Carl Hetherington [Thu, 17 Jun 2021 21:21:54 +0000 (23:21 +0200)]
Move 'show in file manager' code to cross_*

2 years agoFix environment path for player script.
Carl Hetherington [Tue, 8 Jun 2021 22:12:28 +0000 (00:12 +0200)]
Fix environment path for player script.

2 years agoAssorted tidying.
Carl Hetherington [Sun, 19 Sep 2021 23:44:30 +0000 (01:44 +0200)]
Assorted tidying.

2 years agoAdd LastWrittenBy to metadata (#2080).
Carl Hetherington [Sun, 19 Sep 2021 21:57:45 +0000 (23:57 +0200)]
Add LastWrittenBy to metadata (#2080).

2 years agoUse a constexpr and a nullptr.
Carl Hetherington [Sun, 19 Sep 2021 21:57:21 +0000 (23:57 +0200)]
Use a constexpr and a nullptr.

2 years agoinclude/using sorting and some white space.
Carl Hetherington [Sun, 19 Sep 2021 21:57:09 +0000 (23:57 +0200)]
include/using sorting and some white space.

2 years agoFix failure to reset state to "to fit DCP" properly (#2081).
Carl Hetherington [Sun, 19 Sep 2021 20:19:58 +0000 (22:19 +0200)]
Fix failure to reset state to "to fit DCP" properly (#2081).

2 years agoRemove unused VideoContentProperty::SCALE and listen to CUSTOM_{RATIO,SIZE} instead.
Carl Hetherington [Sun, 19 Sep 2021 20:19:38 +0000 (22:19 +0200)]
Remove unused VideoContentProperty::SCALE and listen to CUSTOM_{RATIO,SIZE} instead.

::SCALE was sort-of being used, as it was emitted during examination of
video content, but it wasn't being emitted anywhere else (and CUSTOM_{RATIO,SIZE}
replace its functionality as far as I can see).

2 years agoCheck _inter_size in ::has_j2k() (fixes #2086).
Carl Hetherington [Sun, 19 Sep 2021 20:58:31 +0000 (22:58 +0200)]
Check _inter_size in ::has_j2k() (fixes #2086).

The example in the bug shrinks a content DCP while keeping the
container the same.  We need to check that neither _out_size nor
_inter_size have changed, to check for scaling/padding.

2 years agoAdd state of _reencode_j2k to the video identifier.
Carl Hetherington [Sun, 19 Sep 2021 20:58:02 +0000 (22:58 +0200)]
Add state of _reencode_j2k to the video identifier.

Otherwise if we change the state of this and re-make a DCP it will
not re-encode the J2K.

2 years agoRemove an unused using.
Carl Hetherington [Sun, 19 Sep 2021 20:57:54 +0000 (22:57 +0200)]
Remove an unused using.

2 years agoFix failure to open v2.14.x documents with invalid or empty subtitle languages (...
Carl Hetherington [Sun, 19 Sep 2021 19:45:22 +0000 (21:45 +0200)]
Fix failure to open v2.14.x documents with invalid or empty subtitle languages (#2085).

2 years agoC++11 and general tidying.
Carl Hetherington [Sun, 19 Sep 2021 19:43:08 +0000 (21:43 +0200)]
C++11 and general tidying.

2 years agoAdd another believed-correct subtitle timing fix. v2.15.161
Carl Hetherington [Sun, 12 Sep 2021 20:51:09 +0000 (22:51 +0200)]
Add another believed-correct subtitle timing fix.

2 years agoFix missing subtitles embedded in files decoded by FFmpeg (#2060).
Carl Hetherington [Sun, 12 Sep 2021 20:43:52 +0000 (22:43 +0200)]
Fix missing subtitles embedded in files decoded by FFmpeg (#2060).

Since the FFmpeg 4.4 update it seems that AVSubtitle::pts is no longer
set (it's AV_NOPTS_VALUE, i think).

Instead we apparently need to get the PTS from the packet, which in
turn requires the stream's timebase.

2 years agoAdd missing avsubtitle_free().
Carl Hetherington [Sun, 12 Sep 2021 20:43:38 +0000 (22:43 +0200)]
Add missing avsubtitle_free().

2 years agoRemove some cruft from changelog.
Carl Hetherington [Sat, 11 Sep 2021 10:07:06 +0000 (12:07 +0200)]
Remove some cruft from changelog.

2 years agoFix URL in debian/copyright.
Carl Hetherington [Tue, 3 Aug 2021 22:08:42 +0000 (00:08 +0200)]
Fix URL in debian/copyright.

2 years agoSupport building of cli-only .deb packages (#2066).
Carl Hetherington [Sun, 1 Aug 2021 22:05:37 +0000 (00:05 +0200)]
Support building of cli-only .deb packages (#2066).

2 years agoSupport debian 11.
Carl Hetherington [Mon, 6 Sep 2021 22:45:59 +0000 (00:45 +0200)]
Support debian 11.

2 years agoUpdated zh_CN translation from Kahn Li. v2.15.159
Carl Hetherington [Thu, 2 Sep 2021 15:27:05 +0000 (17:27 +0200)]
Updated zh_CN translation from Kahn Li.

2 years agoUpdated it_IT translation from Riccardo Mantani.
Carl Hetherington [Tue, 24 Aug 2021 12:42:44 +0000 (14:42 +0200)]
Updated it_IT translation from Riccardo Mantani.

2 years agoUpdated nl_NL translation from Rob van Nieuwkerk.
Carl Hetherington [Tue, 24 Aug 2021 09:16:46 +0000 (11:16 +0200)]
Updated nl_NL translation from Rob van Nieuwkerk.

2 years agoAdd Uwe Dittes as translator.
Carl Hetherington [Sat, 21 Aug 2021 18:32:29 +0000 (20:32 +0200)]
Add Uwe Dittes as translator.

2 years agoUpdated it_IT translation from Riccardo Mantani. v2.15.158
Carl Hetherington [Fri, 20 Aug 2021 21:23:44 +0000 (23:23 +0200)]
Updated it_IT translation from Riccardo Mantani.

2 years agopot/merge.
Carl Hetherington [Fri, 20 Aug 2021 21:10:10 +0000 (23:10 +0200)]
pot/merge.

2 years agoFix typo if -> of (thanks to Uwe Dittes)
Carl Hetherington [Fri, 20 Aug 2021 21:09:53 +0000 (23:09 +0200)]
Fix typo if -> of (thanks to Uwe Dittes)

2 years agoUpdated de_DE translation from Uwe Dittes.
Carl Hetherington [Fri, 20 Aug 2021 21:07:04 +0000 (23:07 +0200)]
Updated de_DE translation from Uwe Dittes.

2 years agoTweak key shortcuts table appearance.
Carl Hetherington [Wed, 18 Aug 2021 23:09:52 +0000 (01:09 +0200)]
Tweak key shortcuts table appearance.

2 years agoFix TOC in HTML version of manual.
Carl Hetherington [Wed, 18 Aug 2021 22:42:23 +0000 (00:42 +0200)]
Fix TOC in HTML version of manual.

2 years agoUpdated nl_NL translation from Rob van Nieuwkerk.
Carl Hetherington [Tue, 17 Aug 2021 20:52:17 +0000 (22:52 +0200)]
Updated nl_NL translation from Rob van Nieuwkerk.

2 years agoAdd comments for shortcuts and extract them for the manual (#2073).
Carl Hetherington [Tue, 17 Aug 2021 20:49:10 +0000 (22:49 +0200)]
Add comments for shortcuts and extract them for the manual (#2073).

2 years agoAdd defaults for facility, studio, chain, distributor (#2075).
Carl Hetherington [Tue, 17 Aug 2021 20:16:43 +0000 (22:16 +0200)]
Add defaults for facility, studio, chain, distributor (#2075).

2 years agoRename update -> setup_sensitivity().
Carl Hetherington [Tue, 17 Aug 2021 20:16:00 +0000 (22:16 +0200)]
Rename update -> setup_sensitivity().

2 years agoAdd some keyboard shortcuts to the manual (#2073).
Carl Hetherington [Mon, 16 Aug 2021 22:40:49 +0000 (00:40 +0200)]
Add some keyboard shortcuts to the manual (#2073).

2 years agoOnly warn about lots of frame drops in the player (#2069).
Carl Hetherington [Mon, 16 Aug 2021 22:25:09 +0000 (00:25 +0200)]
Only warn about lots of frame drops in the player (#2069).

2 years agoGive markers dialog a close button (#2070).
Carl Hetherington [Sun, 15 Aug 2021 22:32:17 +0000 (00:32 +0200)]
Give markers dialog a close button (#2070).

2 years agoMissing override qualifiers.
Carl Hetherington [Fri, 13 Aug 2021 19:47:04 +0000 (21:47 +0200)]
Missing override qualifiers.

2 years agoSome missing override statements.
Carl Hetherington [Thu, 12 Aug 2021 22:20:28 +0000 (00:20 +0200)]
Some missing override statements.

2 years agoFix flickering black square when selecting content on Windows (#1866).
Carl Hetherington [Thu, 12 Aug 2021 20:03:11 +0000 (22:03 +0200)]
Fix flickering black square when selecting content on Windows (#1866).

2 years agopot/merge.
Carl Hetherington [Thu, 12 Aug 2021 20:33:17 +0000 (22:33 +0200)]
pot/merge.

2 years agoRename ProRes export format to MOV / ProRes (#2067).
Carl Hetherington [Thu, 12 Aug 2021 20:32:49 +0000 (22:32 +0200)]
Rename ProRes export format to MOV / ProRes (#2067).

2 years agoMissed test/data update.
Carl Hetherington [Thu, 12 Aug 2021 20:06:36 +0000 (22:06 +0200)]
Missed test/data update.

2 years agopot/merge.
Carl Hetherington [Thu, 12 Aug 2021 09:08:42 +0000 (11:08 +0200)]
pot/merge.

2 years agoAdd missing verification description.
Carl Hetherington [Wed, 11 Aug 2021 23:30:02 +0000 (01:30 +0200)]
Add missing verification description.

2 years agoC++11 tidying.
Carl Hetherington [Wed, 11 Aug 2021 23:29:46 +0000 (01:29 +0200)]
C++11 tidying.

2 years agoWhite space.
Carl Hetherington [Wed, 11 Aug 2021 23:29:41 +0000 (01:29 +0200)]
White space.

2 years agoAdd comment.
Carl Hetherington [Wed, 11 Aug 2021 23:29:37 +0000 (01:29 +0200)]
Add comment.

2 years agoDon't write empty <Text> nodes in subtitles/closed captions.
Carl Hetherington [Wed, 11 Aug 2021 23:29:24 +0000 (01:29 +0200)]
Don't write empty <Text> nodes in subtitles/closed captions.

2 years agoMissing full stop.
Carl Hetherington [Tue, 10 Aug 2021 01:02:20 +0000 (03:02 +0200)]
Missing full stop.

2 years agoAllow specifying and writing sign language video language metadata (#2062). v2.15.157
Carl Hetherington [Wed, 4 Aug 2021 20:47:49 +0000 (22:47 +0200)]
Allow specifying and writing sign language video language metadata (#2062).

2 years agoFix build with newer FFmpeg.
Carl Hetherington [Tue, 3 Aug 2021 19:24:51 +0000 (21:24 +0200)]
Fix build with newer FFmpeg.

2 years agoSome const-correctness.
Carl Hetherington [Mon, 2 Aug 2021 22:10:56 +0000 (00:10 +0200)]
Some const-correctness.

2 years agoBump libsub for SubRip tag parsing fix.
Carl Hetherington [Sun, 1 Aug 2021 00:03:28 +0000 (02:03 +0200)]
Bump libsub for SubRip tag parsing fix.

2 years agoDo all text -> HTML conversion for subtitles in the same place.
Carl Hetherington [Sun, 1 Aug 2021 00:02:28 +0000 (02:02 +0200)]
Do all text -> HTML conversion for subtitles in the same place.

Previously we would convert > to &gt; then the ampersand to &amp;
resulting in &amp;gt;

2 years agoFix old mac (single-arch) build.
Carl Hetherington [Fri, 16 Jul 2021 10:35:43 +0000 (12:35 +0200)]
Fix old mac (single-arch) build.

2 years agoAdd a comment.
Carl Hetherington [Sat, 24 Jul 2021 20:35:34 +0000 (22:35 +0200)]
Add a comment.

2 years agoFix build with older boost.
Carl Hetherington [Thu, 15 Jul 2021 23:08:17 +0000 (01:08 +0200)]
Fix build with older boost.

2 years agoFix use-own-dirpicker build. v2.15.156
Carl Hetherington [Thu, 15 Jul 2021 16:32:23 +0000 (18:32 +0200)]
Fix use-own-dirpicker build.

2 years agoBump libdcp for channel assignment fix (#2062).
Carl Hetherington [Thu, 15 Jul 2021 12:09:58 +0000 (14:09 +0200)]
Bump libdcp for channel assignment fix (#2062).