summaryrefslogtreecommitdiff
path: root/src/lib/video_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-05-19 11:34:01 +0100
committerCarl Hetherington <cth@carlh.net>2014-05-19 11:34:01 +0100
commitbb0a36c3a6bea9cd1ebdde7b8a3a04765e317569 (patch)
treefe31842bc2fcb511f3f6daf02c78575b4eabaec5 /src/lib/video_content.cc
parent308488324dbc4d8b709d3fb1dc9fee0479346c21 (diff)
Use cxml::ConstNodePtr.
Diffstat (limited to 'src/lib/video_content.cc')
-rw-r--r--src/lib/video_content.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/video_content.cc b/src/lib/video_content.cc
index bd24621f7..a67a1777e 100644
--- a/src/lib/video_content.cc
+++ b/src/lib/video_content.cc
@@ -82,7 +82,7 @@ VideoContent::VideoContent (shared_ptr<const Film> f, boost::filesystem::path p)
setup_default_colour_conversion ();
}
-VideoContent::VideoContent (shared_ptr<const Film> f, shared_ptr<const cxml::Node> node, int version)
+VideoContent::VideoContent (shared_ptr<const Film> f, cxml::ConstNodePtr node, int version)
: Content (f, node)
{
_video_length = ContentTime (node->number_child<int64_t> ("VideoLength"));
@@ -396,7 +396,7 @@ VideoContentScale::VideoContentScale (bool scale)
}
-VideoContentScale::VideoContentScale (shared_ptr<cxml::Node> node)
+VideoContentScale::VideoContentScale (cxml::NodePtr node)
: _ratio (0)
, _scale (true)
{