diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-09-30 09:18:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-09-30 09:18:32 +0100 |
| commit | 338aa9db0d82ceccde67e4b3dff0bfb75d2a4648 (patch) | |
| tree | 1c534be6c27a35aa54825f42cfb5091ca4b2f314 /src/lib/subrip_content.h | |
| parent | 50683668a616de9a82928d7e0ad3724bc935ebf3 (diff) | |
Handle video frame rates and subtitles a bit more correctly.
Diffstat (limited to 'src/lib/subrip_content.h')
| -rw-r--r-- | src/lib/subrip_content.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/subrip_content.h b/src/lib/subrip_content.h index 342efd4de..e05063403 100644 --- a/src/lib/subrip_content.h +++ b/src/lib/subrip_content.h @@ -46,8 +46,13 @@ public: return false; } + double subtitle_video_frame_rate () const; + void set_subtitle_video_frame_rate (int r); + static std::string const font_id; private: - DCPTime _length; + ContentTime _length; + /** Video frame rate that this content has been prepared for, if known */ + boost::optional<double> _frame_rate; }; |
