Add OK note when PKL and CPL annotation texts match.
[libdcp.git] / src / reel_interop_subtitle_asset.cc
index 5b8cfcddfe72ae85783fd9bba70e6a013f952e0b..5f295d53a8b12602c64732ffaa4eea859bfce6cf 100644 (file)
 
 
 #include "reel_interop_subtitle_asset.h"
+#include "warnings.h"
+LIBDCP_DISABLE_WARNINGS
 #include <libxml++/libxml++.h>
+LIBDCP_ENABLE_WARNINGS
 
 
 using std::shared_ptr;
@@ -60,15 +63,3 @@ ReelInteropSubtitleAsset::ReelInteropSubtitleAsset (std::shared_ptr<const cxml::
        node->done ();
 }
 
-
-xmlpp::Node *
-ReelInteropSubtitleAsset::write_to_cpl (xmlpp::Node* node, Standard standard) const
-{
-       auto asset = write_to_cpl_asset (node, standard, _hash);
-       if (_language) {
-               asset->add_child("Language")->add_child_text(*_language);
-       }
-       return asset;
-}
-
-