summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2020-09-29Make unit tests use their own configuration rather than whateverCarl Hetherington
happens to be in $HOME. This is especially important for signer certificates; without this it looks like the ones from $HOME will be used.
2020-09-29Remove debug code.Carl Hetherington
2020-09-27Fixes for new libdcp with multiple content versions.Carl Hetherington
2020-09-26It's not 7.1 until we have 12 channels.v2.15.103Carl Hetherington
2020-09-26Update test ref for new metadata.Carl Hetherington
2020-09-25Add NamedChannel and use it to hide the never-used channelsCarl Hetherington
when mapping into a DCP.
2020-09-23Support CPL metadata.Carl Hetherington
2020-09-21Fix --standard flag to dcpomatic2_cli (github #9).Carl Hetherington
Forward-ported-from-commit: c1e8c8638bcb3b4c9d90adc3719f38fa7bf81be9 Forward-ported-from-branch: master
2020-08-05Allow export with one audio stream per channel.v2.15.95Carl Hetherington
2020-08-03Add unit test for pulldown detection.Carl Hetherington
2020-07-29Fix bugs in thread termination causing occasional pthreadCarl Hetherington
assertion failures. Before this, it was possible for J2KEncoder::terminate_threads() to finish without terminating all threads if the thread _running_ terminate_threads() was itself interrupt()ed. This is because the thread_group::join_all() in terminate_threads() is an interruption point, so it was possible it not to complete but instead to throw interrupted_exception. Then the owning J2KEncoder would be torn down but the threads would still be running, causing use-after-frees. This commit adds some boost::this_thread::disable_interruption objects to ensure that the owning thread is not interrupted while it is being destroyed. Also tidy up code that does this stuff, assuming that it's safe to not call thread::joinable but instead do thread.interrupt(); try { thread.join(); } catch (...) {}
2020-07-28Add a test to trigger #1786 - crash when exporting 7.1 project to MP4.Carl Hetherington
2020-07-26Disable warnings from magick.Carl Hetherington
2020-07-26Fix test warningCarl Hetherington
2020-07-26Ignore libxml++ warnings in a nicer way.Carl Hetherington
2020-06-19Make Atmos content work more like other content. Now its MXFsv2.15.82Carl Hetherington
are re-written, meaning that they can be encrypted. This (along with the libdcp update) also fixes assorted Atmos bugs.
2020-06-14Fix error when exporting stereo projects with "mixdown to stereo"v2.15.79Carl Hetherington
set.
2020-06-11Update test/data for removed Film metadata tags Signed and UploadAfterMakeDCPv2.15.78Carl Hetherington
2020-06-08Remove encryption key options (#1760).Carl Hetherington
2020-05-21Fix enabled/disable overlapping video/audio with DCP content (part of #1355)Carl Hetherington
2020-05-20Round the length of video-containing content to the nearest frame.Carl Hetherington
It seems reasonable, and is in the spirit of how positions are rounded to frame boundaries. It also fixes problems with unnecessary frames of black being created at the end of trimmed files, where there can be rounding-error-based confusion about where the content stops and the black begins.
2020-05-20Add some context markers to a test.Carl Hetherington
2020-05-20Add a bit more debug logging to the player.Carl Hetherington
2020-05-20Cut the work done by a couple of tests, as previously they tookCarl Hetherington
a much longer time for questionable benefit in terms of test coverage.
2020-05-20More logging and make it go to the right place.Carl Hetherington
2020-05-20Run all tests with lots of encoding threads.Carl Hetherington
2020-05-18Add new version of check_dcp().Carl Hetherington
2020-05-17Add a descriptive comment to a test file.Carl Hetherington
2020-05-12Guess DCP container size and resolution when content is addedCarl Hetherington
or removed such that there is one piece of video content left in the project. Container size and resolution are never again guessed once the user has set them to something.
2020-05-11Change video content scaling so that it either:Carl Hetherington
1. scales the content up to fit the DCP container, preserving aspect ratio, or 2. stretches the content to a custom aspect ratio, or 3. scales the content to some custom size.
2020-05-07Add a 'Make DKDM' dialogue box to simplify and (hopefully) clarify DKDM ↵Carl Hetherington
creation (#1637).
2020-05-06Add some unit tests.Carl Hetherington
2020-05-04Missing library from test link list.Carl Hetherington
2020-05-03Add Zipper class and use it in CinemaKDMs.Carl Hetherington
2020-04-23Nicer fix for 86102d30bf0aad89115bbeb3d8aaa2a27a0aa432Carl Hetherington
2020-04-21Allow DCP content to store and serialise metadata.Carl Hetherington
2020-04-21Allow DCPContent to recover and serialise marker positions.Carl Hetherington
2020-04-20Add LEQ(m) when analysing audio (#1382).v2.15.52Carl Hetherington
2020-04-17Add feature to Socket so that it can send digests of data it has sentCarl Hetherington
and check those digests on receive.
2020-04-17Remove some unnecessary using statements.Carl Hetherington
2020-04-15Fix length of player output so it can be either the film's length or ↵Carl Hetherington
playlist's length, as appropriate.
2020-04-14Fix Empty/Player behaviour when using a playlist that is not the same as the ↵Carl Hetherington
Film's. Previously Empty would use the length of the film for its end point. Now it takes a Playlist (rather than a list of Pieces) and uses the length of that playlist for its end point. This fixes #1543, in which single-content audio analysis jobs would run for the whole length of the film, rather than the length of the content, producing strange graphs and incorrect progress reports.
2020-04-14Ignore and report failures to decode frames during playback (#1593).Carl Hetherington
2020-04-14Use a struct rather than a std::pair as the return type from ImageProxy::image.Carl Hetherington
2020-04-06Add disk writer tool.Carl Hetherington
2020-03-11Test updates now that there can't be <1s long DCPs any more.Carl Hetherington
2020-03-11Improve and fix some tests.Carl Hetherington
2020-03-11Get some better errors when verification-based tests fail.Carl Hetherington
2020-03-11Add a test for short pieces of content amongst longer.Carl Hetherington
2020-03-11Failing test for reels with a short length (in bytes) specified.Carl Hetherington