summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-06-08 13:53:30 +0100
committerCarl Hetherington <cth@carlh.net>2018-06-08 13:53:30 +0100
commit8ca6fd6d97e6d42492afddb655fa85130946853c (patch)
tree78567e5549b1bc40621ae7edce097f47d8bd4d4f /src/lib/ffmpeg_decoder.h
parent9f8c40c1cd07c2e6ea0bea9a76a09056aa8635fd (diff)
Fix doubled subtitles if subtitle stop times are specified.
Diffstat (limited to 'src/lib/ffmpeg_decoder.h')
-rw-r--r--src/lib/ffmpeg_decoder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ffmpeg_decoder.h b/src/lib/ffmpeg_decoder.h
index 3a38f4475..16a55d558 100644
--- a/src/lib/ffmpeg_decoder.h
+++ b/src/lib/ffmpeg_decoder.h
@@ -75,6 +75,7 @@ private:
ContentTime _pts_offset;
boost::optional<ContentTime> _current_subtitle_to;
+ /** true if we have a subtitle which has not had emit_stop called for it yet */
bool _have_current_subtitle;
boost::shared_ptr<Image> _black_image;