diff options
Diffstat (limited to 'src/lib/ffmpeg_examiner.h')
| -rw-r--r-- | src/lib/ffmpeg_examiner.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_examiner.h b/src/lib/ffmpeg_examiner.h index 6e2185129..e87e11d1c 100644 --- a/src/lib/ffmpeg_examiner.h +++ b/src/lib/ffmpeg_examiner.h @@ -86,6 +86,17 @@ private: Frame _video_length; bool _need_video_length; - typedef std::map<boost::shared_ptr<FFmpegSubtitleStream>, boost::optional<ContentTime> > LastSubtitleMap; + struct SubtitleStart + { + SubtitleStart (std::string id_, ContentTime time_) + : id (id_) + , time (time_) + {} + + std::string id; + ContentTime time; + }; + + typedef std::map<boost::shared_ptr<FFmpegSubtitleStream>, boost::optional<SubtitleStart> > LastSubtitleMap; LastSubtitleMap _last_subtitle_start; }; |
