From f113b2aaca7a65f7b37e12a7d9f3f99e2d834e81 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 19 Nov 2016 20:40:36 +0000 Subject: Move position variables into the video/audio/subtitle decoder classes. --- src/lib/text_subtitle_decoder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/text_subtitle_decoder.cc') diff --git a/src/lib/text_subtitle_decoder.cc b/src/lib/text_subtitle_decoder.cc index 5f5545108..1576f50a1 100644 --- a/src/lib/text_subtitle_decoder.cc +++ b/src/lib/text_subtitle_decoder.cc @@ -68,7 +68,7 @@ TextSubtitleDecoder::pass (PassReason, bool) ContentTimePeriod const p = content_time_period (_subtitles[_next]); subtitle->give_text (p, _subtitles[_next]); - _subtitle_position = p.from; + subtitle->set_position (p.from); ++_next; return false; -- cgit v1.2.3