template <typename T>
int64_t frames (T r) const {
- return rint (_t * r / HZ);
+ return rint (double (_t) * r / HZ);
}
/** @param r Frames per second */
{
public:
ContentTimePeriod () {}
+
ContentTimePeriod (ContentTime f, ContentTime t)
: from (f)
, to (t)