summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2023-10-16Make stop() private and use drop() instead.Carl Hetherington
This avoids confusing situations where we call stop(), then try to restart the finder (unsuccessfully, because once it's stop()ped it will stay around, never to be restarted).
2023-10-16Remove a directory created by the config machinery to avoid confusion.Carl Hetherington
2023-10-16Rearrange encoder threading.Carl Hetherington
Soon we'll add a new encoder type, and the existing structure was already creaking a bit at the seams while handling local and remote encodes. Here we split out an encoder thread and introduce the concept of a "sync" thread (which blocks while the encoding is happening). Later we'll have another type which submits the encode request to a GPU and receives the reply back later.
2023-10-16Move UTC offset for KDMs from the cinema to the point of KDM creation (#2300).Carl Hetherington
2023-10-16Change how video timing is done.Carl Hetherington
This commit changes the approach with video timing. Previously, we would (more-or-less) try to use every video frame from the content in the output, hoping that they come at a constant frame rate. This is not always the case, however. Here we preserve the PTS of video frames, and then when one arrives we output whatever DCP video frames we can (at the regular DCP frame rate). Hopefully this will solve a range of sync problems, but it could also introduce new ones.
2023-10-16Write player debug logs from tests on -- --log=debug-playerCarl Hetherington
2023-10-16Cleanup: fix name of film to match test.Carl Hetherington
2023-10-16Normalise XML attribute names to be camelCase (#2241).Carl Hetherington
2023-10-16Use 2.18.x subdirectory for configuration.Carl Hetherington
2023-10-16Remove unused code.Carl Hetherington
2023-10-16This test suddenly just started failing withCarl Hetherington
opj_int_fix_mul: Assertion `(temp >> 13) <= (OPJ_INT64)0x7FFFFFFF' failed. which is odd - why now? Anywhere here we limit the OpenJPEG image values to what I think is the "legal" range.
2023-10-15Fix DCP content font ID allocation to cope with DCPs that have multiple fontsCarl Hetherington
with the same name in the same reel (#2600). Previously we had this id_for_font_in_reel() which would give an ID of N_font-ID. This means we got duplicate font IDs. Here we replace that method with FontAllocator, which gives an ID of N_font-ID for the first font and M_font-ID, where M is a number higher than the highest reel index. The idea is to support the required new IDs without breaking exisiting projects. There is some documentation of how it works in doc/design/fonts
2023-10-09Use dcp::filesystem to wrap filesystem calls and fix_long_pathCarl Hetherington
anything that is passed to read_file() from libcxml. This should fix #2623 and other similar problems.
2023-10-02You are advised -> It is advisable (#2189).Carl Hetherington
2023-09-30Cleanup: use a lambda.Carl Hetherington
2023-09-30Fix test/data branching SNAFU.Carl Hetherington
2023-09-30Allow DCP content type from template to work.Carl Hetherington
2023-09-30Allow SMPTE/interop setting from template to work.Carl Hetherington
2023-09-30Add --no-encrypt with the same idea as the previous commit.Carl Hetherington
2023-09-30Add --twod option to create CLI and stop 2D from being forced overCarl Hetherington
a template if --threed is not specified (#2620/GH#22).
2023-09-30Cleanup: add some _ prefixes.Carl Hetherington
2023-09-29Support alpha blending 64-bit RGB onto things.Carl Hetherington
2023-09-29Rename alpha_blend_test_one -> alpha_blend_test_bgra_onto.Carl Hetherington
2023-09-29Fix errors with WAVs containing markers (#2617).Carl Hetherington
I'm not 100% sure about this but they seem to end up giving audio packets with no channels and no frames. Here we handle such packets better.
2023-09-12Somewhat fix inclusion of CCAP language in ISDCF name (#2610).Carl Hetherington
2023-09-10Cleanup: use some stack allocation and shared_ptr.Carl Hetherington
2023-09-08Fix hints test now that subtitle reader gives an error on large fonts.Carl Hetherington
2023-09-07Sanitise asset names after potentially failed %-based substitutions (#945).Carl Hetherington
If there's a %x in the format string, where %x is not recognised, we should at least remove the %.
2023-09-07Cleanup: use ConfigRestorer instead of Keep class.Carl Hetherington
2023-09-04Use configured issuer/creator for DCPs made by map (#2585).Carl Hetherington
2023-09-03Ignore newlines in subtitle text (#2341).Carl Hetherington
2023-09-01Missing #ifdef for Windows references.Carl Hetherington
2023-08-29Fix vertical alignment of subtitles in some cases (#2569).Carl Hetherington
2023-08-29Give a more useful error when check_dcp() fails.Carl Hetherington
2023-08-29Restore burnt subtitle tests.Carl Hetherington
2023-08-29Cleanup: use some more vector instead of list.Carl Hetherington
2023-08-27Fix tests when changing the cinemas file.Carl Hetherington
2023-08-27Handle fonts/subdirs correctly for CCAPs with _map (#2584).Carl Hetherington
2023-08-27Fix refusal to reference overlapping but different text content (#2599).Carl Hetherington
2023-08-26Update test/data for missing test reference.Carl Hetherington
2023-08-26Set up packet duration correctly when encoding using FFmpeg (#2588).Carl Hetherington
It seems strange that this is necessary (maybe I'm missing some other way that the packet duration is supposed to be set up). Without this, when the mov muxer writes the trak tags it uses an incorrect length value because the length value is calculated from trk->end_pts, which in turn is calculated from the last-seen pts + the duration of the last packet. If that packet is marked as length 0 the length of the track is 1 frame short, so the export is missing a frame.
2023-08-26Try to capture ffmpeg logs during tests.Carl Hetherington
2023-08-24Add --cinemas-file option to KDM CLI.Carl Hetherington
2023-08-20Another signed/unsigned mismatch.Carl Hetherington
2023-08-20Fix unsigned/signed mismatch.Carl Hetherington
2023-08-15Add Audiobuffers::set_channels().Carl Hetherington
2023-08-15Remove now-unnecessary assertion.Carl Hetherington
Since e29ce33a36c2e20444d57196defc86d5072bce81 channels is the number of channels in the frame, and also the number in data, so we don't need to check this any more.
2023-08-11Fix tests on Windows.Carl Hetherington
2023-08-09Add some tests.Carl Hetherington
2023-08-09Extract Film::Property to its own header to (maybe) increase compilation speed.Carl Hetherington