summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-04-20Fix failure to find_and_resolve_all_cpls() in some cases.Carl Hetherington
It seems to me that we need to ignore as-yet-unresolved assets otherwise if we see them in the wrong order we'll throw an exception.
2022-04-20Simplify the implementation of DCP::add.Carl Hetherington
2022-04-20Add a test for DCP::add() for KDMs.Carl Hetherington
2022-04-20Move code to find CPLs in directories out of DCP-o-matic.Carl Hetherington
This adds find_and_resolve_cpls().
2022-04-12Add and use new File class.merged-to-mainCarl Hetherington
It was always a bit troubling that fopen_boost wasn't exception safe, and this also fixes a leak where load_ratings_list would never close the ratings file.
2022-03-24Some more detailed notes in dcpdiff.Carl Hetherington
2022-03-24Add verify test to check for erroneous <EntryPoint> and <Duration>v1.8.132215-markersCarl Hetherington
tags inside <MainMarkers>
2022-03-24Remove <EntryPoint> and <Duration> from <ReelMarkerAsset> tags.Carl Hetherington
They should not be there: "EntryPoint" ... "This element shall only be present when the Asset refers to an external resource such as a Track File". Fixes DoM bug #2215.
2022-03-20Nearly pretty-print subtitle XML (though not in <Text> nodes).v1.8.12Carl Hetherington
This is an attempt to fix DoM bug #2205.
2022-03-19C++11 tidying.Carl Hetherington
2022-03-19Add string converters for KDM formulations.v1.8.11Carl Hetherington
2022-03-19Remove old MODIFIED_TRANSITIONAL_TEST.Carl Hetherington
2022-03-07Some small documentation tweaks.Carl Hetherington
2022-03-07Hide another warning (from ImageMagick in the examples).Carl Hetherington
2022-03-04Remove unused capture.Carl Hetherington
2022-03-03Add lists of ratings.v1.8.9Carl Hetherington
2022-03-01Make dcp::init() take a general resources directory rather than specifically ↵Carl Hetherington
tags.
2022-03-01Move Rating out to a separate file.Carl Hetherington
2022-02-12Pass certificate validity length into the constructor.v1.8.7Carl Hetherington
2022-02-12Cleanup: use dcp::LocalTime for certificate validity times.Carl Hetherington
Before we were using struct tm but not filling it all in, which seems quite unpleasant.
2022-01-17Use optional for ReelAsset _annotation_text.v1.8.6Carl Hetherington
Not only is this tag optional in Interop and SMPTE, but it would appear that if it is present but empty a DCP will not play back on Sony SRX320 / LMT3000 systems (DoM bug #2124). Here we use optional<>, as seems to make sense, and also refuse to write empty tags (instead omitting the tag entirely).
2021-11-09Fix off-by-one in verification of closed caption line length.v1.8.5Carl Hetherington
2021-10-25Message tweak.Carl Hetherington
2021-10-24Order subtitles in the XML according to their vertical position (DoM bug #2106).v1.8.4Carl Hetherington
2021-10-18Remove some unused using statements.Carl Hetherington
2021-10-13Basic implementation of <Space> tag in subtitles.v1.8.3Carl Hetherington
2021-10-10Remove some unused using commands.Carl Hetherington
2021-10-08Fix problems when adding KDMs to a VF, before adding the OV.v1.8.2Carl Hetherington
If we have a KDM which contains keys for all the assets referred to by a VF (even the ones in the OV) we would previously throw an exception because we tried to give the KDM to the resolved assets when it was given to the Reel. Here we change things so that the addition of KDMs to assets can be deferred if the asset is not yet resolved.
2021-10-06Fix incorrect error code (2K when it should be 4K).v1.8.1Carl Hetherington
2021-10-06Tweak comments for the DoM manual.Carl Hetherington
2021-10-05Remove an unnecessary using.Carl Hetherington
2021-10-03Make the former dcst namespace default for SMPTE subtitles.Carl Hetherington
In DoM bug #2061 it is reported that Easy DCP gives the error "XML Document has default root namespace prefix: dcst. Default namespace should not use prefix for root or root namespace child nodes." with SMPTE subtitle files written by DCP-o-matic, and that the correct fix is to make the former dcst: namespace the default and then remove the dcst: qualifiers from everything. I'm not sure I agree with the error; AFAICS the subtitle files written by previous versions did not have a default root namespace prefix, since it was specified by xmlns:dcst and not just xmlns alone, so I think they were valid. However, using a default NS also seems fine, slightly simplifies the code and produces more compact subtitle files, so we change that here. It should also stop Easy DCP complaining, which is always marginally preferable to sticking to our guns and getting the blame for it.
2021-08-11Add verify check for empty <Text> nodes in timed text.Carl Hetherington
2021-08-09Rename verify_text_timing -> verify_text_details.Carl Hetherington
2021-08-04Add support for writing CPL metadata about sign language video tracks (DoM ↵Carl Hetherington
#2062).
2021-08-04Don't bother checking the return of node_child as it can never be nullCarl Hetherington
2021-08-04Make adding extension metadata items more generic.Carl Hetherington
2021-07-15Fix incorrect channel assigment (DoM bug #2062).Carl Hetherington
2021-07-14C++11 tidying.Carl Hetherington
2021-06-26C++11 cleanup.Carl Hetherington
2021-06-24Add issuer() and creator() getters to CPL.Carl Hetherington
2021-06-04Add option to ignore mismatched HMACs when reading MXFs.Carl Hetherington
2021-06-02Pass through CompositionMetadataAsset correctly.Carl Hetherington
We weren't saving Id, and were not quite handling FullContentText correctly.
2021-05-27Make similar changes to the previous commit for _xml_id.Carl Hetherington
This is also unavailable if the asset is encrypted.
2021-05-27Tidy handling of _raw_xml.Carl Hetherington
Before this if we tried to get the XML of an encrypted asset we would just get an empty string. Now we get a boost::none which means the verifier can avoid trying to check details of the XML (and instead raise a warning that you are trying to verify data that it cannot decrypt).
2021-05-27Fix bug causing failure to decrypt SMPTE subtitles.Carl Hetherington
2021-05-27C++11 cleanup.Carl Hetherington
2021-05-27Read the bits we can from the MXF header even when it is encrypted.Carl Hetherington
2021-05-27Sort notes when checking verifications.Carl Hetherington
So that the lists in the tests don't have to be in the right order.
2021-04-30Also install mono_picture_asset_writer.hMart Jansink