+ boost::optional<double> _rotation;
+
+#ifdef DCPOMATIC_VARIANT_SWAROOP
+ boost::optional<std::string> _id;
+#endif
+
+ struct SubtitleStart
+ {
+ SubtitleStart (std::string id_, bool image_, dcpomatic::ContentTime time_)
+ : id (id_)
+ , image (image_)
+ , time (time_)
+ {}
+
+ std::string id;
+ /** true if it's an image subtitle, false for text */
+ bool image;
+ dcpomatic::ContentTime time;
+ };
+
+ typedef std::map<boost::shared_ptr<FFmpegSubtitleStream>, boost::optional<SubtitleStart> > LastSubtitleMap;