Get Signer to take a PEM string rather than a filename.
[libdcp.git] / src / content.cc
index e2a7b1f4025f15f2284dfe6dd0db7cb4ab9e581a..8a654670b69f2c7d15c4597622b89e57d034a1eb 100644 (file)
@@ -20,7 +20,6 @@
 #include "content.h"
 #include "util.h"
 #include "metadata.h"
-#include "types.h"
 #include "AS_DCP.h"
 #include "KM_util.h"
 #include <libxml++/nodes/element.h>
@@ -34,17 +33,8 @@ using namespace dcp;
 
 Content::Content (boost::filesystem::path file)
        : Asset (file)
-       , _edit_rate (24, 1)
-       , _intrinsic_duration (0)
 {
-
-}
-
-Content::Content (Fraction edit_rate)
-       : _edit_rate (edit_rate)
-       , _intrinsic_duration (0)
-{
-
+       
 }
 
 bool
@@ -53,16 +43,6 @@ Content::equals (shared_ptr<const Content> other, EqualityOptions opt, boost::fu
        if (!Asset::equals (other, opt, note)) {
                return false;
        }
-       
-       if (_edit_rate != other->_edit_rate) {
-               note (ERROR, "content edit rates differ");
-               return false;
-       }
-       
-       if (_intrinsic_duration != other->_intrinsic_duration) {
-               note (ERROR, "asset intrinsic durations differ");
-               return false;
-       }
 
        return true;
 }