: TextSubtitle (content)
, _next (0)
{
- subtitle.reset (new SubtitleDecoder (this, content->subtitle, log));
+ ContentTime first;
+ if (!_subtitles.empty()) {
+ first = content_time_period(_subtitles[0]).from;
+ }
+ subtitle.reset (new SubtitleDecoder (this, content->subtitle, log, first));
}
void