Use FAB subtitler's rather odd DFC -> frame rate mapping.
[libsub.git] / src / metric_time.cc
index 72299d30771475910b641ae3e62842636ac05e1b..4fad39047870633e82170a341f411a96f1b5181d 100644 (file)
@@ -86,6 +86,12 @@ MetricTime::add (MetricTime t)
        _ms += t._ms;
 }
 
+void
+MetricTime::scale (float f)
+{
+       _ms *= f;
+}
+
 bool
 sub::operator== (MetricTime const & a, MetricTime const & b)
 {