#include <boost/function.hpp>
#include <iostream>
-/* We need this here for the #undef ERROR for Windows */
-#include "types.h"
-
using namespace std;
using namespace boost;
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
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;
}