summaryrefslogtreecommitdiff
path: root/src/lib/subtitle_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-09 09:36:58 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-09 09:36:58 +0100
commit2cf3da72a017eebf741dfb9a5ec158df94a4e7b7 (patch)
tree2fcc142d132fb1de2228cfca201a4e0825415dc8 /src/lib/subtitle_content.cc
parent02de0e70ffa175861fb4392e9df4e5a7c1579375 (diff)
Basics of DCP import.
Diffstat (limited to 'src/lib/subtitle_content.cc')
-rw-r--r--src/lib/subtitle_content.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/subtitle_content.cc b/src/lib/subtitle_content.cc
index f839a56d0..88e48b420 100644
--- a/src/lib/subtitle_content.cc
+++ b/src/lib/subtitle_content.cc
@@ -37,6 +37,16 @@ int const SubtitleContentProperty::SUBTITLE_Y_OFFSET = 501;
int const SubtitleContentProperty::SUBTITLE_SCALE = 502;
int const SubtitleContentProperty::SUBTITLE_USE = 503;
+SubtitleContent::SubtitleContent (shared_ptr<const Film> f)
+ : Content (f)
+ , _subtitle_use (false)
+ , _subtitle_x_offset (0)
+ , _subtitle_y_offset (0)
+ , _subtitle_scale (1)
+{
+
+}
+
SubtitleContent::SubtitleContent (shared_ptr<const Film> f, boost::filesystem::path p)
: Content (f, p)
, _subtitle_use (false)