summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-03-24Replace simple uses of raw_convert<string> with fmt.fmtCarl Hetherington
2022-03-24Use libfmt to convert things to non-locale-influenced strings.Carl Hetherington
Related to DoM bug #2218.
2022-03-24Remove completely broken raw_convert from wchar_t.Carl Hetherington
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
2021-04-30Prefer the tags directory specified in LIBDCP_RESOURCESMart Jansink
2021-04-29Slightly more details message when sound data differs in ::equals().Carl Hetherington
2021-04-22Don't give an error on verifying Interop DCPs with possibly-incorrectlyCarl Hetherington
marked 3D assets. This also adds a warning into the verification output. I don't know if this is actually a standard violation but they have been seen in the wild made by "reputable" DCP creation software. DoM bug #1976.
2021-04-14Missing header install.Carl Hetherington
2021-04-14Improve handling of image subtitle IDs in XML (DoM bug #1965)Carl Hetherington
When reading/writing the XML for image subtitles, we assumed that the content of the <Image> tag is just the ID of the PNG in the MXF, without any prefix. DoM bug #1965 mentions a DCP where this is not the case, and SMPTE 429-5-2009 has an example where there is urn:uuid: in the XML. This change makes DoM write this urn:uuid: prefix, and accept it if it's present (but not complain if it's not). If the urn:uuid: _is_ required in the field, it's a bit surprising that nobody has complained up to this point. Maybe nobody noticed, or nobody reported it.