summaryrefslogtreecommitdiff
path: root/src/lib/subrip_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-09-30 09:18:32 +0100
committerCarl Hetherington <cth@carlh.net>2015-09-30 09:18:32 +0100
commit338aa9db0d82ceccde67e4b3dff0bfb75d2a4648 (patch)
tree1c534be6c27a35aa54825f42cfb5091ca4b2f314 /src/lib/subrip_content.h
parent50683668a616de9a82928d7e0ad3724bc935ebf3 (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.h7
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;
};