summaryrefslogtreecommitdiff
path: root/src/lib/string_text_file_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-05-04 00:06:54 +0000
committerCarl Hetherington <cth@carlh.net>2019-05-04 00:06:54 +0000
commitf9754756b1cda04089fa0548bcccc51b0dd23403 (patch)
tree5d2b2143494c618f74a90360144174150fd397bd /src/lib/string_text_file_content.h
parentbb4af4ee38488120090de1879ee43a27ba2d4537 (diff)
Include video_frame_rate in TextContent identifier so that if (for
example) some SRT subs are being burnt and their video frame rate is changed we won't try to reuse the video that has been burnt with the subs at the old frame rate.
Diffstat (limited to 'src/lib/string_text_file_content.h')
-rw-r--r--src/lib/string_text_file_content.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/string_text_file_content.h b/src/lib/string_text_file_content.h
index 936e894d8..83323172d 100644
--- a/src/lib/string_text_file_content.h
+++ b/src/lib/string_text_file_content.h
@@ -45,6 +45,7 @@ public:
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;