{
return DCPTime (_length, FrameRateChange());
}
+
+string
+StringTextFileContent::identifier () const
+{
+ string s = Content::identifier ();
+ s += "_" + only_text()->identifier();
+ return s;
+}
void as_xml (xmlpp::Node *, bool with_paths) const;
DCPTime full_length (boost::shared_ptr<const Film> film) const;
DCPTime approximate_length () const;
+ std::string identifier () const;
private:
ContentTime _length;
+ "_" + raw_convert<string> (outline_width())
+ "_" + raw_convert<string> (colour().get_value_or(dcp::Colour(255, 255, 255)).to_argb_string())
+ "_" + raw_convert<string> (dcp::effect_to_string(effect().get_value_or(dcp::NONE)))
- + "_" + raw_convert<string> (effect_colour().get_value_or(dcp::Colour(0, 0, 0)).to_argb_string());
+ + "_" + raw_convert<string> (effect_colour().get_value_or(dcp::Colour(0, 0, 0)).to_argb_string())
+ + "_" + raw_convert<string> (_parent->video_frame_rate().get_value_or(0));
/* XXX: I suppose really _fonts shouldn't be in here, since not all
types of subtitle content involve fonts.