diff options
Diffstat (limited to 'src/mono_picture_mxf.cc')
| -rw-r--r-- | src/mono_picture_mxf.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mono_picture_mxf.cc b/src/mono_picture_mxf.cc index b2042fa5..66cfa12c 100644 --- a/src/mono_picture_mxf.cc +++ b/src/mono_picture_mxf.cc @@ -27,6 +27,7 @@ using std::string; using std::vector; +using std::cout; using boost::shared_ptr; using boost::dynamic_pointer_cast; using namespace dcp; @@ -70,6 +71,10 @@ MonoPictureMXF::get_frame (int n) const bool MonoPictureMXF::equals (shared_ptr<const Asset> other, EqualityOptions opt, boost::function<void (NoteType, string)> note) const { + if (!dynamic_pointer_cast<const MonoPictureMXF> (other)) { + return false; + } + if (!MXF::equals (other, opt, note)) { return false; } |
