summaryrefslogtreecommitdiff
path: root/test/content_test.cc
AgeCommit message (Collapse)Author
2025-07-15Change Film::examine_and_add_content to take a vector of content.Carl Hetherington
2024-05-29Remove default video bit rate settings.Carl Hetherington
2024-05-22Rename new_test_film2 -> new_test_film.Carl Hetherington
2024-05-20Clean up some more tests.Carl Hetherington
2024-05-20Clean up another big test.Carl Hetherington
2024-05-20Use new_test_film2.Carl Hetherington
2024-01-28Change 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-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-08-06Go back to respecting the user's choice for the number of audio channels in ↵Carl Hetherington
the MXF.
2022-12-29Cleanup: test tidying.Carl Hetherington
2022-11-26Noisy change to get film into AudioContent::modify_trim_start().Carl Hetherington
2022-11-25Cleanup: use dcp_file().Carl Hetherington
2022-07-11Use a vector rather than a list when returning from content_factory().Carl Hetherington
2021-02-23Verify a whole bunch of DCPs made by unit tests.Carl Hetherington
2021-02-02Reduce the disk space needed when running tests.v2.15.124Carl Hetherington
2021-01-07std::shared_ptrCarl Hetherington
2020-12-03Obey audio timestamps if they don't deviate by more than some threshold.Carl Hetherington
Previously we would ignore audio timestamps because they are not contiguous in a sample-accurate way. However with bugs like #1833 we do need to obey large discontinuities in audio timestamps, otherwise we get large sync errors. Here we change timestamp handling to ignore small discontinuities in timestamps but not larger ones.
2020-11-29Move some test references into test-private.Carl Hetherington
2020-10-13Fix use of DCPOMATIC_TEST_PRIVATE variable to specify whereCarl Hetherington
test private data is.
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-03-11Move private_data into TestPathsCarl Hetherington
2019-05-10Put Time types in dcpomatic namespace.Carl Hetherington
2018-11-21Take Film pointer out of Content.Carl Hetherington
2018-08-17Position is not affected when Content video frame rate is set.Carl Hetherington
2018-08-15Build fixes.Carl Hetherington
2018-08-15Temporary debugging.Carl Hetherington
2018-07-09Maintain frame-snap for position and trim when set_video_frame_rate is ↵Carl Hetherington
called (#1335).
2017-12-11Add failing test for trimming from the start of non-integer-framerate sources.Carl Hetherington
2017-05-30Check content_test1 output.Carl Hetherington
2017-05-29Add content_test.cc for tests of particular pieces of content.Carl Hetherington