Write MCA tags based on the specified sound field.
[libdcp.git] / src / metadata.cc
index 0e3d7c764c134b5e41f13c198fb5bc304c7f27db..750143d1e4040d7a15f5933e88ca1eb592406563 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012-2014 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2012-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of libdcp.
 
     files in the program, then also delete it here.
 */
 
+
 /** @file  src/metadata.cc
- *  @brief XMLMetadata and MXFMetadata classes.
+ *  @brief MXFMetadata class
  */
 
+
 #include "metadata.h"
 #include "util.h"
 #include "local_time.h"
 #include <asdcp/AS_DCP.h>
-#include <sstream>
 #include <iomanip>
 #include <time.h>
 
-using namespace std;
+
 using namespace dcp;
 
+
 MXFMetadata::MXFMetadata ()
        : company_name ("libdcp")
        , product_name ("libdcp")
@@ -54,6 +56,7 @@ MXFMetadata::MXFMetadata ()
 
 }
 
+
 void
 MXFMetadata::read (ASDCP::WriterInfo const & info)
 {
@@ -62,16 +65,3 @@ MXFMetadata::read (ASDCP::WriterInfo const & info)
        product_version = info.ProductVersion;
 }
 
-XMLMetadata::XMLMetadata ()
-       : issuer ("libdcp" LIBDCP_VERSION)
-       , creator ("libdcp" LIBDCP_VERSION)
-{
-       set_issue_date_now ();
-}
-
-/** Set the issue date to the current local time */
-void
-XMLMetadata::set_issue_date_now ()
-{
-       issue_date = LocalTime().as_string ();
-}