+
+ write_to_cpl_encryptable (asset);
+
+ return asset;
+}
+
+
+string
+ReelPictureAsset::key_type () const
+{
+ return "MDIK";
+}
+
+
+bool
+ReelPictureAsset::equals (shared_ptr<const ReelPictureAsset> other, EqualityOptions opt, NoteHandler note) const
+{
+ if (!asset_equals (other, opt, note)) {
+ return false;
+ }
+ if (!file_asset_equals (other, opt, note)) {
+ return false;
+ }
+
+ auto rpa = dynamic_pointer_cast<const ReelPictureAsset>(other);
+ if (!rpa) {
+ return false;
+ }
+
+ if (_frame_rate != rpa->_frame_rate) {
+ note (NoteType::ERROR, "frame rates differ in reel");
+ return false;
+ }
+
+ if (_screen_aspect_ratio != rpa->_screen_aspect_ratio) {
+ note (NoteType::ERROR, "screen aspect ratios differ in reel");
+ return false;
+ }
+
+ return true;