Fix subtitle timing under trim.
[dcpomatic.git] / src / lib / dcp_subtitle_content.h
index 9fea81c2a46737368ff16d7a1c21e4e1948716e2..8873283931114383a74a1d0411eafc2a78300dc3 100644 (file)
@@ -43,6 +43,11 @@ public:
                return false;
        }
 
+       double subtitle_video_frame_rate () const;
+       void set_subtitle_video_frame_rate (int r);
+
 private:
-       DCPTime _length;
+       ContentTime _length;
+       /** Video frame rate that this content has been prepared for, if known */
+       boost::optional<double> _frame_rate;
 };