summaryrefslogtreecommitdiff
path: root/src/subtitle_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-10 16:16:51 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-10 16:16:51 +0100
commita75132724be4962225e5cb0f5ef5297e2e78aeee (patch)
tree8bd6860f89de21e2ec14226a4eb8d1d6ba87aff4 /src/subtitle_content.h
parent1045480655c09c6fdf0d81f5d9714cb218933c19 (diff)
Move _intrinsic_duration and _edit_rate up to the MXF class as XML subtitle files do not contain this information (whereas MXF files do).
Diffstat (limited to 'src/subtitle_content.h')
-rw-r--r--src/subtitle_content.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/subtitle_content.h b/src/subtitle_content.h
index c00c3f31..b05fe59c 100644
--- a/src/subtitle_content.h
+++ b/src/subtitle_content.h
@@ -48,7 +48,7 @@ public:
* @param mxf true if the file is an MXF file, false for XML.
*/
SubtitleContent (boost::filesystem::path file, bool mxf);
- SubtitleContent (Fraction edit_rate, std::string movie_title, std::string language);
+ SubtitleContent (std::string movie_title, std::string language);
bool equals (
boost::shared_ptr<const Content>,
@@ -74,6 +74,8 @@ public:
void write_xml (boost::filesystem::path) const;
Glib::ustring xml_as_string () const;
+ Time latest_subtitle_out () const;
+
protected:
std::string pkl_type (Standard) const {
return "text/xml";
@@ -113,7 +115,6 @@ private:
std::list<boost::shared_ptr<LoadFont> > _load_font_nodes;
std::list<SubtitleString> _subtitles;
- bool _need_sort;
};
}