2016-09-26 c.hetherington <cth@carlh.net>
+ * Disallow refer-to-DCP if the video frame size is different to that in the project (#963).
+
* Fix multi-select in the timeline (#954).
* Add option to Windows installer to add desktop shortcuts (#965).
bool
DCPContent::can_reference_video (list<string>& why_not) const
{
+ if (film()->frame_size() != video->size()) {
+ why_not.push_back (_("The video frame size in the film differs from that in the DCP."));
+ return false;
+ }
+
return can_reference (bind (&Content::video, _1), _("There is other video content overlapping this DCP; remove it."), why_not);
}
}
}
- return can_reference (bind (&Content::audio, _1), _("There is other audio content overlapping this DCP; remove it."), why_not);
+ return can_reference (bind (&Content::audio, _1), _("There is other audio content overlapping this DCP; remove it."), why_not);
}
bool