summaryrefslogtreecommitdiff
path: root/src/lib
AgeCommit message (Collapse)Author
2016-07-14Better behaviour if config fails to load.Carl Hetherington
Create a default config if any exception is thrown by ::read, and tell the UI so that it can pop up a message to say what has happened.
2016-07-12Stop silently catching exceptions when config load fails.Carl Hetherington
I'm not sure why this was added, but it could hide serious problems during config load: especially failures to load/create _signer_chain which has been seen in the wild several times.
2016-07-12Updated zh_CN translation from Rov (若文).Carl Hetherington
2016-07-10Fix crash on opening properties window for FFmpeg content.Carl Hetherington
2016-07-09Missing swap in Image::swap.Carl Hetherington
2016-07-09Use initialiser list.Carl Hetherington
2016-07-09Remove unused variable.Carl Hetherington
2016-07-09Remove unnecessary new.Carl Hetherington
2016-07-08Fix failure to analyse audio in some cases.Carl Hetherington
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.
2016-07-08Show hints before make DCP (#823).Carl Hetherington
2016-07-08Factor out hints code into its own method.Carl Hetherington
2016-07-08Fix excessive seeking with negative audio delay.Carl Hetherington
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.
2016-07-08Use strict-experimental with AVCodec to allow import of some DNxHR files.Carl Hetherington
2016-07-08Support shadow in subtitles (#911).Carl Hetherington
2016-07-07Update fr_FR translation from Thierry Journet.Carl Hetherington
2016-07-07Remove unused variable.Carl Hetherington
2016-07-07Fix confusion about elapsed time of total job vs sub-job.Carl Hetherington
2016-07-05Try to improve progress reporting when doing image/sound digests.Carl Hetherington
2016-07-04Comment tweak.Carl Hetherington
2016-07-04Updated de_DE translation from Carsten Kurz.Carl Hetherington
2016-07-03Adjust line spacing even with subs with specified proportional position.Carl Hetherington
2016-07-03pot/merge.Carl Hetherington
2016-07-03Updated nl_NL translation from Rob van Nieuwkerk.Carl Hetherington
2016-07-03Remove several exception-throwing asserts from destructors.Carl Hetherington
2016-07-02Take y scale into account when deciding subtitle line spacing.Carl Hetherington
2016-07-02Fix thinkos with marked_up() rendering of bold/italic/underline.Carl Hetherington
2016-07-02Updated ru_RU translation from Igor Voytovich.Carl Hetherington
2016-07-02Updated uk_UA translation from Igor Voytovich.Carl Hetherington
2016-07-02pot/merge.Carl Hetherington
2016-07-01White space.Carl Hetherington
2016-07-01Make the preview respond to changes in subtitle line spacing.Carl Hetherington
2016-07-01First go at making the line spacing do something.Carl Hetherington
2016-07-01Add line-spacing property to SubtitleContent.Carl Hetherington
2016-06-30Fix for crash(es) when joining content.Carl Hetherington
2016-06-29Updated nl_NL translation from Rob van Nieuwkerk.Carl Hetherington
2016-06-29pot/merge.Carl Hetherington
2016-06-29Tweak content properties layout (#895).Carl Hetherington
2016-06-29Small tweaks to times in progress reports.Carl Hetherington
2016-06-29Increase frequency of progres updates on long jobs (#900).Carl Hetherington
2016-06-29Fix handling of incorrectly-recognised JPEG2000 files.Carl Hetherington
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.
2016-06-28Fix pango markup when rendering subtitles.Carl Hetherington
2016-06-24Support for underlined subtitles.Carl Hetherington
2016-06-24Fix confused checks for Image/GraphicsMagick in wscript. Add missing ↵Carl Hetherington
InitializeMagick() call, fixing crash on loading still images.
2016-06-22Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomaticCarl Hetherington
2016-06-22Don't bother decoding referenced DCP video if the player will ignore it.Carl Hetherington
2016-06-22Set AudioDecoder::fast a different way.Carl Hetherington
2016-06-22Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomaticCarl Hetherington
2016-06-22Optimization for the referenced video case.Carl Hetherington
With referenced video from a DCP decoder, no video will ever be fetched from the decoder. Hence the code to discard given video will be activated after _decoded builds up to the magic size. Before this commit the code would attempt to fill with black up to given frame N (with N very large) from the last frame in _decoded when _decoded had been trimmed. This would result in exponential growth in execution time for the VideoDecoder::give() path.
2016-06-22A couple of small optimisations.Carl Hetherington
2016-06-21Revert "Use make_shared<>."Carl Hetherington
Support for this seems to vary wildly across DoM's build targets. Stuff that builds on 16.04 won't build on 14.04, for example. Seems to not be worth the hassle now. This reverts commit 5a5324ed3a381a86dfe0a6e3932c1d58fdcd596f.