summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2016-07-08Test start-trim of audio-only content.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-03Try to fix Arch build error reported by Markus.Carl Hetherington
2016-07-02Fix thinkos with marked_up() rendering of bold/italic/underline.Carl Hetherington
2016-07-01Fix test hash after adding subtitle line spacing to the subtitle content ↵Carl Hetherington
identifier.
2016-07-01Fix SRT tests, and abstract out checking of XML subtitles.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-24Update test/data.Carl Hetherington
2016-06-22Set AudioDecoder::fast a different way.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.
2016-06-21Use make_shared<>.Carl Hetherington
2016-06-14Update for state file version change.Carl Hetherington
2016-06-14Fix some confusion with filling and VideoFrame.Carl Hetherington
2016-06-14Add VideoFrame class.Carl Hetherington
This puts a frame index with an Eyes, which simplifies code in some areas. I can't think of a better name for it, unfortunately.
2016-06-14Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomaticCarl Hetherington
2016-06-14Test fix.Carl Hetherington
2016-06-13Try to fix build.Carl Hetherington
2016-06-13Fix VideoDecoder::get_video() with 3D.Carl Hetherington
get_video() promises to return all video frames at the given time, but this wasn't working for none-SBS-3D as it would be satisfied when it got the first (left) frame. Adjust get_video() to get all required frames. This showed up bugs in fill_both_eyes, whereby the from parameter was ignored and the wrong things were done in some cases; video_decoder_fill_test.cc tests this stuff.
2016-06-13Rename MD5Digester -> Digester.Carl Hetherington
2016-06-13Add SSA subtitle test.Carl Hetherington
2016-06-13Add button to move things to the start of reels (#798).Carl Hetherington
2016-06-10Various updates for subtitle changes.Carl Hetherington
2016-06-07Fix build on Windows.Carl Hetherington
2016-06-07Add new test.Carl Hetherington
2016-06-07Bump test/data for metadata version tweak.Carl Hetherington
2016-06-01Use new libdcp reader interface.Carl Hetherington
2016-05-25No-op; fix GPL address and use the explicit-program-name version.Carl Hetherington
2016-05-25Add VideoMXFContent (part of #803).Carl Hetherington
2016-05-23Fix missing words in properties windows (#874).Carl Hetherington
2016-05-18Fix test/data for upmixer test.Carl Hetherington
2016-05-18Better information when check_audio_file fails.Carl Hetherington
2016-05-18Some more FFmpeg audio extraction testing.Carl Hetherington
2016-05-18Fix test crash.Carl Hetherington
2016-05-18Remove Sndfile code and use FFmpeg instead.Carl Hetherington
2016-05-18Change to recover hash.Carl Hetherington
2016-05-18Test crash fix.Carl Hetherington
2016-05-18Various text fixes.Carl Hetherington
2016-05-18Remove unnecessary Film variable in ContentPart.Carl Hetherington
2016-05-18Another test fix.Carl Hetherington
2016-05-18Fix test crash.Carl Hetherington
2016-05-18Fix a few crashes.Carl Hetherington
2016-05-18Make a DCP in the ffmpeg no-audio test case.Carl Hetherington
2016-05-18Use audio length in FFmpegContent if there is no video.Carl Hetherington
2016-05-18Store audio length in AudioStream.Carl Hetherington
2016-05-18Rename some methods.Carl Hetherington
2016-05-18Basics of splitting up Decoder tree like Content.Carl Hetherington
2016-05-18Partial work on using a no-video FFmpeg file.Carl Hetherington
2016-05-18Move video frame rate ('prepared-for') into Content.Carl Hetherington
2016-05-18Fix some confusions with FFmpeg audio streams.Carl Hetherington