_out_from = from + piece->content->position ();
_out_to = to + piece->content->position ();
+
+ check_out_to ();
}
bool
{
return _out_from <= t && t <= _out_to;
}
+
+void
+Subtitle::check_out_to ()
+{
+ if (_stop && _out_to > _stop.get ()) {
+ _out_to = _stop.get ();
+ }
+}