dcpomatic.git
7 years agoMissing swap in Image::swap.
Carl Hetherington [Sat, 9 Jul 2016 22:47:13 +0000 (23:47 +0100)]
Missing swap in Image::swap.

7 years agoUse initialiser list.
Carl Hetherington [Sat, 9 Jul 2016 22:46:59 +0000 (23:46 +0100)]
Use initialiser list.

7 years agoRemove unused variable.
Carl Hetherington [Sat, 9 Jul 2016 22:46:47 +0000 (23:46 +0100)]
Remove unused variable.

7 years agoRemove unnecessary new.
Carl Hetherington [Sat, 9 Jul 2016 22:46:37 +0000 (23:46 +0100)]
Remove unnecessary new.

7 years agoTest start-trim of audio-only content.
Carl Hetherington [Fri, 8 Jul 2016 21:39:10 +0000 (22:39 +0100)]
Test start-trim of audio-only content.

7 years agoFix failure to analyse audio in some cases.
Carl Hetherington [Fri, 8 Jul 2016 20:13:06 +0000 (21:13 +0100)]
Fix failure to analyse audio in some cases.

This fixes audio-only content when the first-emitted audio is not
at time zero.  This used to cause a seek which is not possible
with audio-only.  This commit removes the unnecessary seek which
was due to missing silent-padding of the first-emitted audio.

7 years agoHints on DCP channel counts, as suggested by Carsten.
Carl Hetherington [Fri, 8 Jul 2016 14:03:35 +0000 (15:03 +0100)]
Hints on DCP channel counts, as suggested by Carsten.

7 years agoBump version
Carl Hetherington [Fri, 8 Jul 2016 08:23:24 +0000 (09:23 +0100)]
Bump version

7 years agoBump version v2.9.1
Carl Hetherington [Fri, 8 Jul 2016 08:23:24 +0000 (09:23 +0100)]
Bump version

7 years agoShow hints before make DCP (#823).
Carl Hetherington [Thu, 7 Jul 2016 23:13:00 +0000 (00:13 +0100)]
Show hints before make DCP (#823).

7 years agoFactor out hints code into its own method.
Carl Hetherington [Thu, 7 Jul 2016 22:01:12 +0000 (23:01 +0100)]
Factor out hints code into its own method.

7 years agoFix excessive seeking with negative audio delay.
Carl Hetherington [Tue, 5 Jul 2016 08:49:00 +0000 (09:49 +0100)]
Fix excessive seeking with negative audio delay.

Before this commit, an audio delay of -110ms on a test project
would result in a seek on every video and audio fetch.

This commit does two things to fix that:

1.  Don't discard audio data that arrives with a timestamp
before the last seek time.  In the case that we are fixing
we had the following sequence:

- video seeks to some frame F
- this causes audio data to arrive a little before F
- this audio data is discarded
- and audio get happens just after F
- the audio code thinks it must seek rather than just pass()ing
since it has no data

If we keep the audio data from before the seek our _decoded
will be much closer to the audio request, so a pass() is more
likely to happen.

2.  Extend the length of time that we will happily pass() for
rather than seeking when looking for audio data.  Seeking is
really bad so we can tolerate quite long times here.  The sensible
length of this value should probably be investigated as the
one in this commit is a finger-in-the-air guess.

7 years agoFix ChangeLog.
Carl Hetherington [Fri, 8 Jul 2016 00:50:16 +0000 (01:50 +0100)]
Fix ChangeLog.

7 years agoUse strict-experimental with AVCodec to allow import of some DNxHR files.
Carl Hetherington [Wed, 6 Jul 2016 20:07:46 +0000 (21:07 +0100)]
Use strict-experimental with AVCodec to allow import of some DNxHR files.

7 years agoBump ffmpeg.
Carl Hetherington [Tue, 5 Jul 2016 00:20:02 +0000 (01:20 +0100)]
Bump ffmpeg.

7 years agoSupport shadow in subtitles (#911).
Carl Hetherington [Fri, 8 Jul 2016 00:30:39 +0000 (01:30 +0100)]
Support shadow in subtitles (#911).

7 years agoBump version
Carl Hetherington [Fri, 8 Jul 2016 00:46:37 +0000 (01:46 +0100)]
Bump version

7 years agoBump version v2.9.0
Carl Hetherington [Fri, 8 Jul 2016 00:46:37 +0000 (01:46 +0100)]
Bump version

7 years agoUpdate fr_FR translation from Thierry Journet.
Carl Hetherington [Thu, 7 Jul 2016 21:12:17 +0000 (22:12 +0100)]
Update fr_FR translation from Thierry Journet.

7 years agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Carl Hetherington [Thu, 7 Jul 2016 15:06:10 +0000 (16:06 +0100)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic

7 years agoRemove unused variable.
Carl Hetherington [Thu, 7 Jul 2016 15:06:02 +0000 (16:06 +0100)]
Remove unused variable.

7 years agoBump version
Carl Hetherington [Thu, 7 Jul 2016 14:30:34 +0000 (15:30 +0100)]
Bump version

7 years agoBump version v2.8.20
Carl Hetherington [Thu, 7 Jul 2016 14:30:34 +0000 (15:30 +0100)]
Bump version

7 years agoFix confusion about elapsed time of total job vs sub-job.
Carl Hetherington [Thu, 7 Jul 2016 14:29:03 +0000 (15:29 +0100)]
Fix confusion about elapsed time of total job vs sub-job.

7 years agoCLI formatting tweak.
Carl Hetherington [Thu, 7 Jul 2016 14:27:04 +0000 (15:27 +0100)]
CLI formatting tweak.

7 years agoBump version
Carl Hetherington [Wed, 6 Jul 2016 18:56:41 +0000 (19:56 +0100)]
Bump version

7 years agoBump version v2.8.19
Carl Hetherington [Wed, 6 Jul 2016 18:56:40 +0000 (19:56 +0100)]
Bump version

7 years agoTry wxFRAME_FLOAT_ON_PARENT instead of wxSTAY_ON_TOP (#909).
Carl Hetherington [Tue, 5 Jul 2016 15:09:29 +0000 (16:09 +0100)]
Try wxFRAME_FLOAT_ON_PARENT instead of wxSTAY_ON_TOP (#909).

7 years agoDisplay sub-job name in the CLI client.
Carl Hetherington [Tue, 5 Jul 2016 15:05:07 +0000 (16:05 +0100)]
Display sub-job name in the CLI client.

7 years agoTry to improve progress reporting when doing image/sound digests.
Carl Hetherington [Tue, 5 Jul 2016 15:04:54 +0000 (16:04 +0100)]
Try to improve progress reporting when doing image/sound digests.

7 years agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Carl Hetherington [Tue, 5 Jul 2016 08:46:47 +0000 (09:46 +0100)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic

7 years agoBump version
Carl Hetherington [Mon, 4 Jul 2016 22:55:03 +0000 (23:55 +0100)]
Bump version

7 years agoBump version v2.8.18
Carl Hetherington [Mon, 4 Jul 2016 22:55:03 +0000 (23:55 +0100)]
Bump version

7 years agoComment tweak.
Carl Hetherington [Mon, 4 Jul 2016 12:41:08 +0000 (13:41 +0100)]
Comment tweak.

7 years agoFix control sensitivity in various places.
Carl Hetherington [Mon, 4 Jul 2016 08:32:44 +0000 (09:32 +0100)]
Fix control sensitivity in various places.

7 years agoUpdated de_DE translation from Carsten Kurz.
Carl Hetherington [Mon, 4 Jul 2016 08:16:27 +0000 (09:16 +0100)]
Updated de_DE translation from Carsten Kurz.

7 years agoBump wscript required versions.
Carl Hetherington [Mon, 4 Jul 2016 08:15:45 +0000 (09:15 +0100)]
Bump wscript required versions.

7 years agoBump version
Carl Hetherington [Sun, 3 Jul 2016 22:24:56 +0000 (23:24 +0100)]
Bump version

7 years agoBump version v2.8.17
Carl Hetherington [Sun, 3 Jul 2016 22:24:55 +0000 (23:24 +0100)]
Bump version

7 years agoUpdated ru_RU translation from Igor Voytovich.
Carl Hetherington [Sun, 3 Jul 2016 21:32:59 +0000 (22:32 +0100)]
Updated ru_RU translation from Igor Voytovich.

7 years agoUse release versions of libdcp/libsub.
Carl Hetherington [Sun, 3 Jul 2016 21:08:48 +0000 (22:08 +0100)]
Use release versions of libdcp/libsub.

7 years agoUpdated nl_NL translation from Rob van Nieuwkerk.
Carl Hetherington [Sun, 3 Jul 2016 20:50:43 +0000 (21:50 +0100)]
Updated nl_NL translation from Rob van Nieuwkerk.

7 years agoBump libsub for fix to SSA/ASS underline support.
Carl Hetherington [Sun, 3 Jul 2016 20:48:24 +0000 (21:48 +0100)]
Bump libsub for fix to SSA/ASS underline support.

7 years agoAdjust line spacing even with subs with specified proportional position.
Carl Hetherington [Sun, 3 Jul 2016 20:44:50 +0000 (21:44 +0100)]
Adjust line spacing even with subs with specified proportional position.

7 years agopot/merge.
Carl Hetherington [Sun, 3 Jul 2016 19:43:03 +0000 (20:43 +0100)]
pot/merge.

7 years agoName playhead moves 'go to' rather than 'move to'
Carl Hetherington [Sun, 3 Jul 2016 19:42:46 +0000 (20:42 +0100)]
Name playhead moves 'go to' rather than 'move to'

7 years agoUpdated nl_NL translation from Rob van Nieuwkerk.
Carl Hetherington [Sun, 3 Jul 2016 19:40:12 +0000 (20:40 +0100)]
Updated nl_NL translation from Rob van Nieuwkerk.

7 years agoRemove several exception-throwing asserts from destructors.
Carl Hetherington [Sun, 3 Jul 2016 19:36:20 +0000 (20:36 +0100)]
Remove several exception-throwing asserts from destructors.

7 years agoTry to fix Arch build error reported by Markus.
Carl Hetherington [Sun, 3 Jul 2016 19:36:02 +0000 (20:36 +0100)]
Try to fix Arch build error reported by Markus.

7 years agoBump version
Carl Hetherington [Sat, 2 Jul 2016 22:53:21 +0000 (23:53 +0100)]
Bump version

7 years agoBump version v2.8.16
Carl Hetherington [Sat, 2 Jul 2016 22:53:20 +0000 (23:53 +0100)]
Bump version

7 years agoTake y scale into account when deciding subtitle line spacing.
Carl Hetherington [Sat, 2 Jul 2016 22:52:54 +0000 (23:52 +0100)]
Take y scale into account when deciding subtitle line spacing.

7 years agoFix thinkos with marked_up() rendering of bold/italic/underline.
Carl Hetherington [Sat, 2 Jul 2016 21:20:54 +0000 (22:20 +0100)]
Fix thinkos with marked_up() rendering of bold/italic/underline.

7 years agoUpdated ru_RU translation from Igor Voytovich.
Carl Hetherington [Sat, 2 Jul 2016 20:44:26 +0000 (21:44 +0100)]
Updated ru_RU translation from Igor Voytovich.

7 years agoUpdated uk_UA translation from Igor Voytovich.
Carl Hetherington [Sat, 2 Jul 2016 20:43:45 +0000 (21:43 +0100)]
Updated uk_UA translation from Igor Voytovich.

7 years agopot/merge.
Carl Hetherington [Sat, 2 Jul 2016 09:49:27 +0000 (10:49 +0100)]
pot/merge.

7 years agoBump version
Carl Hetherington [Sat, 2 Jul 2016 00:45:56 +0000 (01:45 +0100)]
Bump version

7 years agoBump version v2.8.15
Carl Hetherington [Sat, 2 Jul 2016 00:45:56 +0000 (01:45 +0100)]
Bump version

7 years agoFix crash when analysing audio of large-channel-count files.
Carl Hetherington [Sat, 2 Jul 2016 00:44:15 +0000 (01:44 +0100)]
Fix crash when analysing audio of large-channel-count files.

7 years agoTry to fix Centos 5 32-bit build.
Carl Hetherington [Fri, 1 Jul 2016 22:58:17 +0000 (23:58 +0100)]
Try to fix Centos 5 32-bit build.

7 years agoFix test hash after adding subtitle line spacing to the subtitle content identifier.
Carl Hetherington [Fri, 1 Jul 2016 22:39:01 +0000 (23:39 +0100)]
Fix test hash after adding subtitle line spacing to the subtitle content identifier.

7 years agoAdd frame number dialog on frame position click.
Carl Hetherington [Fri, 1 Jul 2016 22:37:01 +0000 (23:37 +0100)]
Add frame number dialog on frame position click.

7 years agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Carl Hetherington [Fri, 1 Jul 2016 21:49:25 +0000 (22:49 +0100)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic

7 years agoWhite space.
Carl Hetherington [Fri, 1 Jul 2016 21:48:46 +0000 (22:48 +0100)]
White space.

7 years agoBump libsub for asdcplib header changes.
Carl Hetherington [Fri, 1 Jul 2016 15:27:57 +0000 (16:27 +0100)]
Bump libsub for asdcplib header changes.

7 years agoBump libdcp for asdcp headers changes.
Carl Hetherington [Fri, 1 Jul 2016 11:33:11 +0000 (12:33 +0100)]
Bump libdcp for asdcp headers changes.

7 years agoFix SRT tests, and abstract out checking of XML subtitles.
Carl Hetherington [Thu, 30 Jun 2016 12:38:21 +0000 (13:38 +0100)]
Fix SRT tests, and abstract out checking of XML subtitles.

7 years agoMake the preview respond to changes in subtitle line spacing.
Carl Hetherington [Wed, 29 Jun 2016 23:20:49 +0000 (00:20 +0100)]
Make the preview respond to changes in subtitle line spacing.

7 years agoFirst go at making the line spacing do something.
Carl Hetherington [Sat, 28 May 2016 23:42:55 +0000 (00:42 +0100)]
First go at making the line spacing do something.

7 years agoAdd UI to manage line spacing on subtitles.
Carl Hetherington [Sat, 28 May 2016 20:22:13 +0000 (21:22 +0100)]
Add UI to manage line spacing on subtitles.

7 years agoAdd line-spacing property to SubtitleContent.
Carl Hetherington [Sat, 28 May 2016 17:45:33 +0000 (18:45 +0100)]
Add line-spacing property to SubtitleContent.

7 years agoAdd go-to-position dialogue when clicking on preview timecode.
Carl Hetherington [Fri, 1 Jul 2016 00:03:29 +0000 (01:03 +0100)]
Add go-to-position dialogue when clicking on preview timecode.

7 years agoMake nudge buttons nudge further with modifiers (shift/control/shift+control).
Carl Hetherington [Thu, 30 Jun 2016 22:15:31 +0000 (23:15 +0100)]
Make nudge buttons nudge further with modifiers (shift/control/shift+control).

7 years agoRe-examine joined content.
Carl Hetherington [Thu, 30 Jun 2016 21:37:03 +0000 (22:37 +0100)]
Re-examine joined content.

7 years agoBig speed-up to content joining.
Carl Hetherington [Thu, 30 Jun 2016 21:23:08 +0000 (22:23 +0100)]
Big speed-up to content joining.

7 years agoFix for crash(es) when joining content.
Carl Hetherington [Thu, 30 Jun 2016 21:15:43 +0000 (22:15 +0100)]
Fix for crash(es) when joining content.

7 years agoUpdated nl_NL translation from Rob van Nieuwkerk.
Carl Hetherington [Wed, 29 Jun 2016 22:35:58 +0000 (23:35 +0100)]
Updated nl_NL translation from Rob van Nieuwkerk.

7 years agoCase fix to match tool name.
Carl Hetherington [Wed, 29 Jun 2016 22:33:52 +0000 (23:33 +0100)]
Case fix to match tool name.

7 years agoSpeculative fix for #891.
Carl Hetherington [Wed, 29 Jun 2016 21:57:28 +0000 (22:57 +0100)]
Speculative fix for #891.

7 years agopot/merge.
Carl Hetherington [Wed, 29 Jun 2016 21:04:12 +0000 (22:04 +0100)]
pot/merge.

7 years agoTypo.
Carl Hetherington [Wed, 29 Jun 2016 21:02:25 +0000 (22:02 +0100)]
Typo.

7 years agoTweak content properties layout (#895).
Carl Hetherington [Wed, 29 Jun 2016 20:26:18 +0000 (21:26 +0100)]
Tweak content properties layout (#895).

7 years agoSmall tweaks to times in progress reports.
Carl Hetherington [Wed, 29 Jun 2016 15:46:30 +0000 (16:46 +0100)]
Small tweaks to times in progress reports.

7 years agoIncrease frequency of progres updates on long jobs (#900).
Carl Hetherington [Wed, 29 Jun 2016 15:33:50 +0000 (16:33 +0100)]
Increase frequency of progres updates on long jobs (#900).

7 years agoAdd another hack script.
Carl Hetherington [Wed, 29 Jun 2016 15:09:02 +0000 (16:09 +0100)]
Add another hack script.

7 years agoFix handling of incorrectly-recognised JPEG2000 files.
Carl Hetherington [Wed, 29 Jun 2016 15:01:14 +0000 (16:01 +0100)]
Fix handling of incorrectly-recognised JPEG2000 files.

Previously we asked libdcp whether an imported J2K file was
RGB or XYZ.  The answer it gives is sometimes wrong, for reasons
that are not clear (either the files are not marked correctly,
or openjpeg is not parsing whatever metadata correctly).

However it seems that, in general, we use the user's specified
colour conversion to decide what to do with an image, rather than
asking the image what should be done to it.

Hence it makes more sense to assume that if a user specifies no
colour conversion for a J2K file then the file is XYZ.

With preview, the colour conversion from XYZ back to RGB is done
by FFmpeg, so we have to set the pixel format correctly on the
Image that comes back from J2KImageProxy.  Now we get that pixel
format from the configured colourspace conversion rather than
from openjpeg's guess as to the file's colourspace.

It's a bit ugly that the only thing we ask the file about is whether
or not it is in YUV (which governs whether or not FFmpeg applies
the user's configured YUV-to-RGB conversion).  Everything else is
decided by the configured conversion.

I think there's still some uglyness in here that I can't put my
finger on.

7 years agoDoc drawing tweaks.
Carl Hetherington [Wed, 29 Jun 2016 14:13:12 +0000 (15:13 +0100)]
Doc drawing tweaks.

7 years agoFix pango markup when rendering subtitles.
Carl Hetherington [Mon, 27 Jun 2016 23:34:24 +0000 (00:34 +0100)]
Fix pango markup when rendering subtitles.

7 years agoAdd tester.
Carl Hetherington [Sat, 25 Jun 2016 22:51:24 +0000 (23:51 +0100)]
Add tester.

7 years agoBump version
Carl Hetherington [Fri, 24 Jun 2016 14:17:04 +0000 (15:17 +0100)]
Bump version

7 years agoBump version v2.8.14
Carl Hetherington [Fri, 24 Jun 2016 14:17:04 +0000 (15:17 +0100)]
Bump version

7 years agoAnother fix for new file dialog sizing when using DirPickerCtrl.
Carl Hetherington [Fri, 24 Jun 2016 14:03:41 +0000 (15:03 +0100)]
Another fix for new file dialog sizing when using DirPickerCtrl.

7 years agoUpdate test/data.
Carl Hetherington [Fri, 24 Jun 2016 13:41:36 +0000 (14:41 +0100)]
Update test/data.

7 years agoBump libsub for fix to missing last subs line.
Carl Hetherington [Fri, 24 Jun 2016 12:30:36 +0000 (13:30 +0100)]
Bump libsub for fix to missing last subs line.

7 years agoSupport for underlined subtitles.
Carl Hetherington [Fri, 24 Jun 2016 12:22:02 +0000 (13:22 +0100)]
Support for underlined subtitles.

7 years agoRemove bad fuzzy translation.
Carl Hetherington [Fri, 24 Jun 2016 11:34:46 +0000 (12:34 +0100)]
Remove bad fuzzy translation.

7 years agoFix confused checks for Image/GraphicsMagick in wscript. Add missing InitializeMagic...
Carl Hetherington [Fri, 24 Jun 2016 10:51:42 +0000 (11:51 +0100)]
Fix confused checks for Image/GraphicsMagick in wscript.  Add missing InitializeMagick() call, fixing crash on loading still images.

7 years agoBump version
Carl Hetherington [Wed, 22 Jun 2016 20:30:53 +0000 (21:30 +0100)]
Bump version

7 years agoBump version v2.8.13
Carl Hetherington [Wed, 22 Jun 2016 20:30:53 +0000 (21:30 +0100)]
Bump version

7 years agoBump libdcp1 for small optimisation.
Carl Hetherington [Wed, 22 Jun 2016 01:04:29 +0000 (02:04 +0100)]
Bump libdcp1 for small optimisation.