42 LIBDCP_DISABLE_WARNINGS
43 #include <libxml++/libxml++.h>
44 LIBDCP_ENABLE_WARNINGS
49 using std::shared_ptr;
54 ReelSMPTEClosedCaptionAsset::ReelSMPTEClosedCaptionAsset (shared_ptr<SMPTESubtitleAsset> asset,
Fraction edit_rate, int64_t intrinsic_duration, int64_t entry_point)
61 ReelSMPTEClosedCaptionAsset::ReelSMPTEClosedCaptionAsset (shared_ptr<const cxml::Node> node)
69 ReelSMPTEClosedCaptionAsset::write_to_cpl (xmlpp::Node* node, Standard standard)
const
71 auto asset = ReelClosedCaptionAsset::write_to_cpl (node, standard);
73 asset->add_child(
"Language",
"tt")->add_child_text(*_language);
82 return "tt:ClosedCaption";
89 return make_pair(
"http://www.smpte-ra.org/schemas/429-12/2008/TT",
"tt");
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
std::string cpl_node_name(Standard) const override
Namespace for everything in libdcp.
ReelSMPTEClosedCaptionAsset class.