dcpomatic.git
5 years agoUpload analytics. attic/analytics
Carl Hetherington [Tue, 14 Aug 2018 15:28:31 +0000 (16:28 +0100)]
Upload analytics.

5 years agoAdd missing virtual destructor.
Carl Hetherington [Tue, 14 Aug 2018 14:44:14 +0000 (15:44 +0100)]
Add missing virtual destructor.

5 years agoBasics of job analytics storage.
Carl Hetherington [Tue, 14 Aug 2018 14:39:33 +0000 (15:39 +0100)]
Basics of job analytics storage.

5 years agoFix build.
Carl Hetherington [Tue, 14 Aug 2018 14:21:38 +0000 (15:21 +0100)]
Fix build.

5 years agoPartial work on gathering details of job events.
Carl Hetherington [Tue, 14 Aug 2018 10:17:16 +0000 (11:17 +0100)]
Partial work on gathering details of job events.

5 years agoNag on 3rd successful DCP encode.
Carl Hetherington [Wed, 8 Aug 2018 16:04:26 +0000 (17:04 +0100)]
Nag on 3rd successful DCP encode.

5 years agoRemove unused include.
Carl Hetherington [Wed, 8 Aug 2018 16:03:55 +0000 (17:03 +0100)]
Remove unused include.

5 years agoRemove unused method.
Carl Hetherington [Wed, 8 Aug 2018 16:03:36 +0000 (17:03 +0100)]
Remove unused method.

5 years agoBasic stuff to count successful DCP encodes.
Carl Hetherington [Wed, 8 Aug 2018 09:24:09 +0000 (10:24 +0100)]
Basic stuff to count successful DCP encodes.

5 years agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Carl Hetherington [Tue, 14 Aug 2018 10:17:42 +0000 (11:17 +0100)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic

5 years agoMissing files.
Carl Hetherington [Tue, 14 Aug 2018 10:16:56 +0000 (11:16 +0100)]
Missing files.

5 years agoMore fixes for errors / crashes / misbehaviour with content changes
Carl Hetherington [Mon, 13 Aug 2018 16:37:52 +0000 (17:37 +0100)]
More fixes for errors / crashes / misbehaviour with content changes
and the butler.

Here we signal both before and after a change in content.  Before,
the player disables itself so that any pass()/seek() will be no-ops.
After, the player rebuilds its pieces and the butler re-seeks to
get back to where it was before the change.

5 years agoUse a radio item rather than a check item when selecting CPL in the content menu.
Carl Hetherington [Mon, 13 Aug 2018 15:54:56 +0000 (16:54 +0100)]
Use a radio item rather than a check item when selecting CPL in the content menu.

5 years agoSelect CPL by name in the player (#1357).
Carl Hetherington [Mon, 13 Aug 2018 15:54:37 +0000 (16:54 +0100)]
Select CPL by name in the player (#1357).

5 years agoSet up selection when opening timeline.
Carl Hetherington [Sun, 12 Aug 2018 22:05:36 +0000 (23:05 +0100)]
Set up selection when opening timeline.

5 years agoPunt jump-to-selected to a UI idle handler.
Carl Hetherington [Sun, 12 Aug 2018 21:59:18 +0000 (22:59 +0100)]
Punt jump-to-selected to a UI idle handler.

5 years agoUpdate reels markers properly.
Carl Hetherington [Sun, 12 Aug 2018 21:38:12 +0000 (22:38 +0100)]
Update reels markers properly.

5 years agoFix bad redraw when dragging content views.
Carl Hetherington [Sun, 12 Aug 2018 21:28:37 +0000 (22:28 +0100)]
Fix bad redraw when dragging content views.

5 years agoWhite space.
Carl Hetherington [Sun, 12 Aug 2018 21:17:53 +0000 (22:17 +0100)]
White space.

5 years agoDon't seek during timeline drags.
Carl Hetherington [Sun, 12 Aug 2018 21:02:25 +0000 (22:02 +0100)]
Don't seek during timeline drags.

5 years agoUse more direct route to fix hangs after calling some Player methods.
Carl Hetherington [Fri, 10 Aug 2018 13:50:45 +0000 (14:50 +0100)]
Use more direct route to fix hangs after calling some Player methods.

5 years agoTry to fix Windows build.
Carl Hetherington [Fri, 10 Aug 2018 01:28:10 +0000 (02:28 +0100)]
Try to fix Windows build.

5 years agoAdd some Changed() emissions so that when a butler is in control
Carl Hetherington [Fri, 10 Aug 2018 01:12:51 +0000 (02:12 +0100)]
Add some Changed() emissions so that when a butler is in control
we always do a seek when we set _have_valid_pieces to false.

5 years agoFix writer assertion at the end of some 3D encodes; one too many fill frames were...
Carl Hetherington [Thu, 9 Aug 2018 21:28:27 +0000 (22:28 +0100)]
Fix writer assertion at the end of some 3D encodes; one too many fill frames were being emitted.

5 years agoWhite space.
Carl Hetherington [Thu, 9 Aug 2018 21:27:39 +0000 (22:27 +0100)]
White space.

5 years agoRemove duplicated stuff from seek_unlocked(); tweak some ordering.
Carl Hetherington [Wed, 8 Aug 2018 23:01:49 +0000 (00:01 +0100)]
Remove duplicated stuff from seek_unlocked(); tweak some ordering.

5 years agoRather dubious fix for crash due to the sequence:
Carl Hetherington [Wed, 8 Aug 2018 22:59:26 +0000 (23:59 +0100)]
Rather dubious fix for crash due to the sequence:
  - playlist change
  - _have_valid_pieces -> false
  - signal butler
  - but meanwhile, pass happens which calls setup_pieces and starts emitting
    data from time 0
  - this new data is not in sync with what's already in the audio ring buffers

5 years agoAdd basic appimage packaging.
Carl Hetherington [Wed, 8 Aug 2018 02:02:47 +0000 (03:02 +0100)]
Add basic appimage packaging.

5 years agoTweak message now that hints dialog is shown even when there are no hints.
Carl Hetherington [Wed, 8 Aug 2018 12:14:00 +0000 (13:14 +0100)]
Tweak message now that hints dialog is shown even when there are no hints.

5 years agoflatpak description is dynamically generated now.
Carl Hetherington [Wed, 8 Aug 2018 01:52:01 +0000 (02:52 +0100)]
flatpak description is dynamically generated now.

5 years agoAdd some patreon bits.
Carl Hetherington [Mon, 6 Aug 2018 00:08:57 +0000 (01:08 +0100)]
Add some patreon bits.

5 years agoRemove old-logo banner.
Carl Hetherington [Sun, 5 Aug 2018 23:08:10 +0000 (00:08 +0100)]
Remove old-logo banner.

5 years agoMissing files. v2.13.42
Carl Hetherington [Sun, 5 Aug 2018 21:18:29 +0000 (22:18 +0100)]
Missing files.

5 years agoFiddle with ccap window default size. v2.13.41
Carl Hetherington [Sun, 5 Aug 2018 00:32:37 +0000 (01:32 +0100)]
Fiddle with ccap window default size.

5 years agoGet closed caption view data from the butler, rather than the player.
Carl Hetherington [Sun, 5 Aug 2018 00:15:45 +0000 (01:15 +0100)]
Get closed caption view data from the butler, rather than the player.
You can't introduce the butler (so that the player is ahead of time)
and then ask the player what should be in the frame that is being
displayed "now"; the player will already have moved on.

5 years agoAnother test reference fix.
Carl Hetherington [Sat, 4 Aug 2018 14:34:28 +0000 (15:34 +0100)]
Another test reference fix.

5 years agoFix test references.
Carl Hetherington [Sat, 4 Aug 2018 13:14:07 +0000 (14:14 +0100)]
Fix test references.

5 years agoSome subtitle renaming.
Carl Hetherington [Fri, 3 Aug 2018 23:22:51 +0000 (00:22 +0100)]
Some subtitle renaming.

5 years agoRemove unused parameter.
Carl Hetherington [Fri, 3 Aug 2018 23:18:22 +0000 (00:18 +0100)]
Remove unused parameter.

5 years agoTimestamp audio emissions from butler and hence discard very late
Carl Hetherington [Fri, 3 Aug 2018 23:01:30 +0000 (00:01 +0100)]
Timestamp audio emissions from butler and hence discard very late
audio in FilmViewer.  This should help with the case where lots
of video frames are rapidly discarded when they are late but the
corresponding audio is not, hence audio buffers get overfilled.

5 years agoA variety of changes to improve (but not entirely fix) behaviour
Carl Hetherington [Thu, 2 Aug 2018 22:22:49 +0000 (23:22 +0100)]
A variety of changes to improve (but not entirely fix) behaviour
when moving content (or otherwise changing the playlist) while playing.

This commit refills the butler when things change in certain ways,
and improves locking to cope with Player methods being called from
the GUI and butler threads at the same time.

5 years agoForce audio content to be on a sample boundary.
Carl Hetherington [Wed, 1 Aug 2018 20:47:26 +0000 (21:47 +0100)]
Force audio content to be on a sample boundary.

5 years agoFix build.
Carl Hetherington [Wed, 1 Aug 2018 20:27:45 +0000 (21:27 +0100)]
Fix build.

5 years agoFix build.
Carl Hetherington [Sun, 29 Jul 2018 12:43:35 +0000 (13:43 +0100)]
Fix build.

5 years agoAdd some explicits.
Carl Hetherington [Sun, 29 Jul 2018 01:28:36 +0000 (02:28 +0100)]
Add some explicits.

5 years agoRemove debug code.
Carl Hetherington [Fri, 27 Jul 2018 15:21:21 +0000 (16:21 +0100)]
Remove debug code.

5 years agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Carl Hetherington [Fri, 27 Jul 2018 15:14:41 +0000 (16:14 +0100)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic

5 years agoTweak message.
Carl Hetherington [Fri, 27 Jul 2018 14:22:39 +0000 (15:22 +0100)]
Tweak message.

5 years agoCheck for long CCAP lines and too many CCAP lines.
Carl Hetherington [Fri, 27 Jul 2018 14:19:30 +0000 (15:19 +0100)]
Check for long CCAP lines and too many CCAP lines.

5 years agoProtect the public API of Player with a mutex, since
Carl Hetherington [Thu, 26 Jul 2018 19:59:04 +0000 (20:59 +0100)]
Protect the public API of Player with a mutex, since
seek() and pass() may be called from the Butler thread
ad the same time as other Player methods are called from
the GUI thread (by FilmViewer and ClosedCaptionViewDialog).

5 years agoBackground-threaded hints including line length of CCAPs.
Carl Hetherington [Thu, 26 Jul 2018 16:58:06 +0000 (17:58 +0100)]
Background-threaded hints including line length of CCAPs.

5 years agoAllow debug builds without internet access.
Carl Hetherington [Thu, 26 Jul 2018 16:57:48 +0000 (17:57 +0100)]
Allow debug builds without internet access.

5 years agoAdd support for ignoring everything except text in the player.
Carl Hetherington [Thu, 26 Jul 2018 14:07:09 +0000 (15:07 +0100)]
Add support for ignoring everything except text in the player.

5 years agoDisable bits of TextPanel when we are making closed captions.
Carl Hetherington [Thu, 26 Jul 2018 12:09:44 +0000 (13:09 +0100)]
Disable bits of TextPanel when we are making closed captions.

5 years agoUse GNOME `sdk' instead of `platform' for flatpak. v2.13.40
Carl Hetherington [Wed, 25 Jul 2018 23:11:35 +0000 (00:11 +0100)]
Use GNOME `sdk' instead of `platform' for flatpak.

5 years agoUse cdist's flatpak tools.
Carl Hetherington [Wed, 25 Jul 2018 22:09:37 +0000 (23:09 +0100)]
Use cdist's flatpak tools.

5 years agoTry not building icu.
Carl Hetherington [Wed, 25 Jul 2018 21:58:15 +0000 (22:58 +0100)]
Try not building icu.

5 years agoAdd believed-necessary locking to ActiveText.
Carl Hetherington [Wed, 25 Jul 2018 22:50:30 +0000 (23:50 +0100)]
Add believed-necessary locking to ActiveText.

5 years agoFix crash on scaling the ccap window to be very small.
Carl Hetherington [Wed, 25 Jul 2018 22:50:15 +0000 (23:50 +0100)]
Fix crash on scaling the ccap window to be very small.

5 years agoTry to put version number into flatpak bundle name.
Carl Hetherington [Wed, 25 Jul 2018 21:11:20 +0000 (22:11 +0100)]
Try to put version number into flatpak bundle name.

5 years agoAdd flatpak build.
Carl Hetherington [Wed, 25 Jul 2018 08:27:02 +0000 (09:27 +0100)]
Add flatpak build.

5 years agoRestore AWOL timing panel.
Carl Hetherington [Wed, 25 Jul 2018 20:07:29 +0000 (21:07 +0100)]
Restore AWOL timing panel.

5 years agoMake characters red if they are too long in the closed caption view.
Carl Hetherington [Wed, 25 Jul 2018 15:59:37 +0000 (16:59 +0100)]
Make characters red if they are too long in the closed caption view.

5 years agoFix loading of old projects. v2.13.39
Carl Hetherington [Wed, 25 Jul 2018 13:00:19 +0000 (14:00 +0100)]
Fix loading of old projects.

5 years agoFix problems with loading projects with captions / subs.
Carl Hetherington [Wed, 25 Jul 2018 12:54:10 +0000 (13:54 +0100)]
Fix problems with loading projects with captions / subs.

5 years agoAdd some asserts.
Carl Hetherington [Wed, 25 Jul 2018 12:53:52 +0000 (13:53 +0100)]
Add some asserts.

5 years agoDon't start with all possible content tabs visible.
Carl Hetherington [Tue, 24 Jul 2018 22:04:01 +0000 (23:04 +0100)]
Don't start with all possible content tabs visible.

5 years agoTweak debug message.
Carl Hetherington [Tue, 24 Jul 2018 22:03:45 +0000 (23:03 +0100)]
Tweak debug message.

5 years agoUpdate ImageMagick URL for flatpak.
Carl Hetherington [Tue, 24 Jul 2018 14:25:56 +0000 (15:25 +0100)]
Update ImageMagick URL for flatpak.

5 years agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic v2.13.38
Carl Hetherington [Tue, 24 Jul 2018 11:14:32 +0000 (12:14 +0100)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic

5 years agoFix uninitialised variable.
Carl Hetherington [Tue, 24 Jul 2018 11:14:27 +0000 (12:14 +0100)]
Fix uninitialised variable.

5 years agoFix image filename sorter with filenames that have lots of numbers.
Carl Hetherington [Tue, 24 Jul 2018 09:18:44 +0000 (10:18 +0100)]
Fix image filename sorter with filenames that have lots of numbers.

5 years agoIntroduce the idea of unknown original subtitle type to clean up the GUI a bit.
Carl Hetherington [Mon, 23 Jul 2018 15:42:28 +0000 (16:42 +0100)]
Introduce the idea of unknown original subtitle type to clean up the GUI a bit.

5 years agoTidy up after mass rename.
Carl Hetherington [Mon, 23 Jul 2018 14:10:11 +0000 (15:10 +0100)]
Tidy up after mass rename.

5 years agoMore automated renaming.
Carl Hetherington [Mon, 23 Jul 2018 10:20:12 +0000 (11:20 +0100)]
More automated renaming.

ActiveCaptions -> ActiveText
BitmapCaption -> BitmapText
ContentCaption -> ContentText
ContentTextCaption -> ContentStringText
TextCaptionFileContent -> StringTextFileContent
TextCaptionFileDecoder -> StringTextFileDecoder
TextCaptionFile -> StringTextFile
TextCaption -> StringText
PlayerCaption -> PlayerText
CaptionContent -> TextContent
CaptionDecoder -> TextDecoder
CaptionPanel -> TextPanel
CaptionView -> TextView
CaptionAppearanceDialog -> SubtitleAppearanceDialog
CaptionType -> TextType

5 years agoUpdate to test/data.
Carl Hetherington [Mon, 23 Jul 2018 08:50:29 +0000 (09:50 +0100)]
Update to test/data.

5 years agoSome missing bits of caption type setup.
Carl Hetherington [Mon, 23 Jul 2018 08:48:36 +0000 (09:48 +0100)]
Some missing bits of caption type setup.

5 years agoCommenting. v2.13.37
Carl Hetherington [Mon, 23 Jul 2018 01:04:30 +0000 (02:04 +0100)]
Commenting.

5 years agoGet ccaps by asking the Player, rather than by listening to its emissions,
Carl Hetherington [Mon, 23 Jul 2018 00:21:07 +0000 (01:21 +0100)]
Get ccaps by asking the Player, rather than by listening to its emissions,
which is slightly cleaner and works when subtitles are emitted with an
unknown end time.  Also add CCAPs to the player.

5 years agoRemove debug code.
Carl Hetherington [Sun, 22 Jul 2018 23:18:17 +0000 (00:18 +0100)]
Remove debug code.

5 years agoVery basic closed caption viewer.
Carl Hetherington [Sun, 22 Jul 2018 23:09:35 +0000 (00:09 +0100)]
Very basic closed caption viewer.

5 years agoNo-op: white space.
Carl Hetherington [Sun, 22 Jul 2018 20:53:22 +0000 (21:53 +0100)]
No-op: white space.

5 years agoOn reflection showing CCAPs over the main picture doesn't make much sense.
Carl Hetherington [Sun, 22 Jul 2018 20:29:40 +0000 (21:29 +0100)]
On reflection showing CCAPs over the main picture doesn't make much sense.

5 years agoDisplay only required tabs, including subs / ccap.
Carl Hetherington [Sat, 21 Jul 2018 23:41:03 +0000 (00:41 +0100)]
Display only required tabs, including subs / ccap.

5 years agoFix failure to load projects.
Carl Hetherington [Sat, 21 Jul 2018 21:14:15 +0000 (22:14 +0100)]
Fix failure to load projects.

5 years agoFix join for new caption stuff.
Carl Hetherington [Sat, 21 Jul 2018 21:09:29 +0000 (22:09 +0100)]
Fix join for new caption stuff.

5 years agoFix crash.
Carl Hetherington [Sat, 21 Jul 2018 21:09:04 +0000 (22:09 +0100)]
Fix crash.

5 years agoRevert "Remove join function; the code is long and I don't think anybody"
Carl Hetherington [Sat, 21 Jul 2018 20:47:25 +0000 (21:47 +0100)]
Revert "Remove join function; the code is long and I don't think anybody"

It turns out Carsten uses it :)

This reverts commit bd5e8b83a3a18787241982efdae809d4db21f65d.

5 years agoBasics of multiple captions per content so that DCPContent can
Carl Hetherington [Sat, 21 Jul 2018 14:16:18 +0000 (15:16 +0100)]
Basics of multiple captions per content so that DCPContent can
hold subs and closed captions.

5 years agoKey ActiveCaptions on a CaptionContent rather than a Piece.
Carl Hetherington [Fri, 20 Jul 2018 22:16:40 +0000 (23:16 +0100)]
Key ActiveCaptions on a CaptionContent rather than a Piece.

5 years agoThinko in previous.
Carl Hetherington [Fri, 20 Jul 2018 21:12:37 +0000 (22:12 +0100)]
Thinko in previous.

5 years agoPut caption details inside their own tag in the metadata.
Carl Hetherington [Fri, 20 Jul 2018 21:11:09 +0000 (22:11 +0100)]
Put caption details inside their own tag in the metadata.

5 years agoRemove join function; the code is long and I don't think anybody
Carl Hetherington [Fri, 20 Jul 2018 20:28:29 +0000 (21:28 +0100)]
Remove join function; the code is long and I don't think anybody
uses it.

5 years agoUpdate preview when caption type changes.
Carl Hetherington [Fri, 20 Jul 2018 19:40:59 +0000 (20:40 +0100)]
Update preview when caption type changes.

5 years agoUntested; allow viewing of subtitles or closed captions in the preview.
Carl Hetherington [Fri, 20 Jul 2018 18:55:22 +0000 (19:55 +0100)]
Untested; allow viewing of subtitles or closed captions in the preview.

5 years agoAdd advanced configuration option to allow any container ratio,
Carl Hetherington [Fri, 20 Jul 2018 14:20:56 +0000 (15:20 +0100)]
Add advanced configuration option to allow any container ratio,
specifically because the GDC SX-2001 will only play 25fps DCPs
with a 16:9 ratio (not Flat).

https://www.dcpomatic.com/forum/viewtopic.php?f=2&t=1119&p=4470

5 years agoFix incorrect type name.
Carl Hetherington [Fri, 20 Jul 2018 12:48:37 +0000 (13:48 +0100)]
Fix incorrect type name.

5 years agoHopefully remove unsafe-loop-optimization warnings.
Carl Hetherington [Thu, 19 Jul 2018 23:42:20 +0000 (00:42 +0100)]
Hopefully remove unsafe-loop-optimization warnings.

5 years agocaption -> subtitle. v2.13.36
Carl Hetherington [Thu, 19 Jul 2018 23:16:15 +0000 (00:16 +0100)]
caption -> subtitle.

5 years agoChangeLog update.
Carl Hetherington [Thu, 19 Jul 2018 23:08:13 +0000 (00:08 +0100)]
ChangeLog update.