*/
-#include "raw_convert.h"
-#include "reel_asset.h"
#include "asset.h"
#include "compose.hpp"
#include "dcp_assert.h"
+#include "raw_convert.h"
+#include "reel_asset.h"
+#include "warnings.h"
#include <libcxml/cxml.h>
+LIBDCP_DISABLE_WARNINGS
#include <libxml++/libxml++.h>
+LIBDCP_ENABLE_WARNINGS
using std::pair;
xmlpp::Node*
-ReelAsset::write_to_cpl_asset (xmlpp::Node* node, Standard standard, optional<string> hash) const
+ReelAsset::write_to_cpl (xmlpp::Node* node, Standard standard) const
{
auto a = node->add_child (cpl_node_name (standard));
auto const attr = cpl_node_attribute (standard);
if (_duration) {
a->add_child("Duration")->add_child_text(raw_convert<string>(*_duration));
}
- if (hash) {
- a->add_child("Hash")->add_child_text (hash.get());
- }
return a;
}