#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>
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
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;
}