summaryrefslogtreecommitdiff
path: root/src/lib/text_subtitle_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-04-14 02:06:18 +0100
committerCarl Hetherington <cth@carlh.net>2016-05-18 11:50:29 +0100
commit2d5beb0d6794df13ad1df47e84fd7a57d1d1c64d (patch)
tree70034dc6789e55394dac0ec87b968c58b96e4b48 /src/lib/text_subtitle_content.cc
parent826ed68a1e34ce158342da324ff7203af0449641 (diff)
Rename video/audio/subtitle part methods.
Diffstat (limited to 'src/lib/text_subtitle_content.cc')
-rw-r--r--src/lib/text_subtitle_content.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/text_subtitle_content.cc b/src/lib/text_subtitle_content.cc
index 79a225c47..0ad41114e 100644
--- a/src/lib/text_subtitle_content.cc
+++ b/src/lib/text_subtitle_content.cc
@@ -55,7 +55,7 @@ TextSubtitleContent::examine (boost::shared_ptr<Job> job)
TextSubtitle s (shared_from_this ());
/* Default to turning these subtitles on */
- subtitle->set_use_subtitles (true);
+ subtitle->set_use (true);
boost::mutex::scoped_lock lm (_mutex);
_length = s.length ();
@@ -86,6 +86,6 @@ TextSubtitleContent::as_xml (xmlpp::Node* node) const
DCPTime
TextSubtitleContent::full_length () const
{
- FrameRateChange const frc (subtitle->subtitle_video_frame_rate(), film()->video_frame_rate ());
+ FrameRateChange const frc (subtitle->video_frame_rate(), film()->video_frame_rate ());
return DCPTime (_length, frc);
}