summaryrefslogtreecommitdiff
path: root/src/lib/writer.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-11-26 19:26:31 +0000
committerCarl Hetherington <cth@carlh.net>2017-04-19 23:04:32 +0100
commitad04d9cd5f529ab64d950c6a4c627678f3f2500d (patch)
treee06cddf73503419e852989a31826931f1f3055f9 /src/lib/writer.cc
parentb29571d1fbf3bcd9f5cbd9c20f1d5f8211876e94 (diff)
Implement subtitles.
Diffstat (limited to 'src/lib/writer.cc')
-rw-r--r--src/lib/writer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/writer.cc b/src/lib/writer.cc
index 6e6bedb8f..67b00987d 100644
--- a/src/lib/writer.cc
+++ b/src/lib/writer.cc
@@ -548,7 +548,7 @@ Writer::write (PlayerSubtitles subs)
return;
}
- if (_subtitle_reel->period().to <= subs.from) {
+ if (_subtitle_reel->period().to <= subs.period.from) {
++_subtitle_reel;
}