summaryrefslogtreecommitdiff
path: root/src/lib/video_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-04-08 00:43:28 +0200
committerCarl Hetherington <cth@carlh.net>2022-04-08 00:43:28 +0200
commiteeaca1992aa117fe3a2a4a079d8a20a01d88e933 (patch)
tree5dba1c017aad02ee0087d2b4daffe09490e86c74 /src/lib/video_content.h
parent769d56b7f3b2fe78036b4ba12c0cfe71734b379d (diff)
Guess video range better when importing 2.14.x projects (#2227).
Diffstat (limited to 'src/lib/video_content.h')
-rw-r--r--src/lib/video_content.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/video_content.h b/src/lib/video_content.h
index 2adf941d9..3ec884578 100644
--- a/src/lib/video_content.h
+++ b/src/lib/video_content.h
@@ -60,7 +60,7 @@ class VideoContent : public ContentPart, public std::enable_shared_from_this<Vid
{
public:
explicit VideoContent (Content* parent);
- VideoContent (Content* parent, cxml::ConstNodePtr, int);
+ VideoContent (Content* parent, cxml::ConstNodePtr node, int version, VideoRange video_range_hint);
VideoContent (Content* parent, std::vector<std::shared_ptr<Content>>);
void as_xml (xmlpp::Node *) const;
@@ -216,7 +216,7 @@ public:
void modify_position (std::shared_ptr<const Film> film, dcpomatic::DCPTime& pos) const;
void modify_trim_start (dcpomatic::ContentTime& pos) const;
- static std::shared_ptr<VideoContent> from_xml (Content* parent, cxml::ConstNodePtr, int);
+ static std::shared_ptr<VideoContent> from_xml (Content* parent, cxml::ConstNodePtr node, int version, VideoRange video_range_hint);
private: