From 8ca6fd6d97e6d42492afddb655fa85130946853c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 8 Jun 2018 13:53:30 +0100 Subject: Fix doubled subtitles if subtitle stop times are specified. --- src/lib/ffmpeg_decoder.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/ffmpeg_decoder.h') 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 _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 _black_image; -- cgit v1.2.3