37 LIBDCP_DISABLE_WARNINGS
38 #include <libxml++/libxml++.h>
39 LIBDCP_ENABLE_WARNINGS
44 using std::shared_ptr;
49 ReelInteropClosedCaptionAsset::ReelInteropClosedCaptionAsset (shared_ptr<InteropSubtitleAsset> asset,
Fraction edit_rate, int64_t intrinsic_duration, int64_t entry_point)
57 ReelInteropClosedCaptionAsset::ReelInteropClosedCaptionAsset (shared_ptr<const cxml::Node> node)
65 ReelInteropClosedCaptionAsset::cpl_node_name (Standard)
const
67 return "cc-cpl:MainClosedCaption";
74 return make_pair(
"http://www.digicine.com/PROTO-ASDCP-CC-CPL-20070926#",
"cc-cpl");
79 ReelInteropClosedCaptionAsset::write_to_cpl (xmlpp::Node* node, Standard standard)
const
81 auto asset = ReelClosedCaptionAsset::write_to_cpl (node, standard);
83 asset->add_child(
"Language")->add_child_text(*_language);
A fraction (i.e. a thing with an integer numerator and an integer denominator).
Part of a Reel's description which refers to a closed caption XML/MXF file.
std::pair< std::string, std::string > cpl_node_namespace() const override
Namespace for everything in libdcp.
ReelInteropClosedCaptionAsset class.