summaryrefslogtreecommitdiff
path: root/test/vf_test.cc
AgeCommit message (Collapse)Author
2025-09-02Untested conversion to num/den DCPTime.arbitrary-hzCarl Hetherington
Summary of required changes: Replace ::from_frames with a constructor that takes num/den. Provide and use member to_debug_string() instead of to_string(). Provide and use member to_serializable_string() and string constructor instead of fmt::to_string on .get() and number constructor. Provide and use content_time() member instead of ContentTime constructor from DCPTime. Use frames_round(96000) instead of get() when comparing times to see if they are "close enough". Provide and use DCPTime(x, FrameRateChange) constructor when converting from ContentTime. Use .seconds() when calculating proportions or sometimes when dividing by HZ. Provide and use operator bool(). Pass explicit 96000 denominator in a lot of places. Add member max() and use it instead of static max() Change BOOST_CHECK_EQUAL to BOOST_CHECK Provide operator/ and use it instead of .get() / 2.
2025-07-15Change Film::examine_and_add_content to take a vector of content.Carl Hetherington
2025-07-15Don't process unnecessary video frame rate changes.Carl Hetherington
This inadvertently fixes a bug where multiple pieces of caption content would be added to the project sequentially, but then immediately re-arranged to be at the same time.
2025-07-15Change ExamineContentJob to take a vector of content.Carl Hetherington
2025-07-11Don't try to add unused fonts to the DCP (#3059).Carl Hetherington
With interop there can be only one font, and we need to make sure it's not one that isn't even being used.
2025-04-14Bump libdcp for very invalid subtitle duration checks.Carl Hetherington
2025-03-24Basic support for variable-Z 3D subtitles.Carl Hetherington
2025-01-20Pass tolerant flag into Content::examine() and the ExamineContentJob.Carl Hetherington
Along the way this helps to fix #2942.
2025-01-15Add a group ID to VF PKLs (#2943).Carl Hetherington
2024-09-03Adapt to some libdcp class renaming to allow open captions/closed subtitles.Carl Hetherington
2024-05-29Remove default DCP audio channel setting.Carl Hetherington
2024-05-22Rename new_test_film2 -> new_test_film.Carl Hetherington
2024-05-21Replace all new_test_film with new_test_film2.Carl Hetherington
2024-04-21Rename classes to follow preparatory renames in libdcp.Carl Hetherington
2024-03-11Fix failing tests.Carl Hetherington
Broken in the fix for #2780, when we started to check that referenced audio MXFs have the correct number of channels.
2024-01-17Fix ISDCF name when referring to OVs with subs (#2703).Carl Hetherington
2024-01-15Inspect most DCPs made during tests with dcp_inspect (#76).Carl Hetherington
2024-01-04Add a test.Carl Hetherington
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-08-27Fix refusal to reference overlapping but different text content (#2599).Carl Hetherington
2022-11-26Noisy change to get film into AudioContent::modify_trim_start().Carl Hetherington
2022-09-10Move get_reel_assets() out of Player, as it doesn't need to be there.Carl Hetherington
2022-07-11Use a vector rather than a list when returning from content_factory().Carl Hetherington
2021-11-04Add failing test.Carl Hetherington
2021-11-04Tidying.Carl Hetherington
2021-09-27Replace aligned bool with enum Alignment.Carl Hetherington
2021-09-27Various alignment adjustments.Carl Hetherington
2021-02-26More verification of DCPs during tests.Carl Hetherington
2021-01-31More enum class additions.Carl Hetherington
2021-01-07BOOST_FOREACH.Carl Hetherington
2021-01-07std::shared_ptrCarl Hetherington
2020-11-20Some tidying up of test Doxygen.Carl Hetherington
2020-10-12Fix incorrect sign on boost test constants.Carl Hetherington
2020-04-23Nicer fix for 86102d30bf0aad89115bbeb3d8aaa2a27a0aa432Carl 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.
2019-10-31Tweak test now that can_reference_audio correctly succeeds when there is no ↵Carl Hetherington
overlapping audio.
2019-10-31Make separate reels for parts of the timeline with no video whenCarl Hetherington
we are in REEL_TYPE_BY_VIDEO_CONTENT mode. This fixes VF creation with gaps. Also the implementation of Film::reels() is cleaner now.
2019-05-10Put Time types in dcpomatic namespace.Carl Hetherington
2019-05-10Update for libdcp API changes.Carl Hetherington
2019-04-17Add test for bug #1528.Carl Hetherington
2019-03-22Fix referencing of trimmed multi-reel DCPs (#1495).Carl Hetherington
2019-03-22Add test to trigger #1495.Carl Hetherington
2019-01-21Stop jobs silently failing in tests.Carl Hetherington
2018-11-21Take Film pointer out of Content.Carl Hetherington
2018-07-23Tidy up after mass rename.Carl Hetherington
2018-07-21Basics of multiple captions per content so that DCPContent canCarl Hetherington
hold subs and closed captions.
2018-03-27why_not in can_reference can just be a string rather than a list of strings.Carl Hetherington
2018-02-11More missing set_interop().Carl Hetherington
2017-06-23Add a OV/VF test; tidy up a bit.Carl Hetherington
2017-05-17Respect _no_video and _no_audio when filling.Carl Hetherington