X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fvideo_content.cc;h=a67a1777ef7f5c9bea6c4876ecf4fa42ed34e10b;hb=bb0a36c3a6bea9cd1ebdde7b8a3a04765e317569;hp=bd24621f79fe72c144d04bf33edaf908cadb61b8;hpb=308488324dbc4d8b709d3fb1dc9fee0479346c21;p=dcpomatic.git 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 f, boost::filesystem::path p) setup_default_colour_conversion (); } -VideoContent::VideoContent (shared_ptr f, shared_ptr node, int version) +VideoContent::VideoContent (shared_ptr f, cxml::ConstNodePtr node, int version) : Content (f, node) { _video_length = ContentTime (node->number_child ("VideoLength")); @@ -396,7 +396,7 @@ VideoContentScale::VideoContentScale (bool scale) } -VideoContentScale::VideoContentScale (shared_ptr node) +VideoContentScale::VideoContentScale (cxml::NodePtr node) : _ratio (0) , _scale (true) {