diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-05-23 17:18:49 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-05-23 17:18:49 +0100 |
| commit | 64a2f1bb6a7b972607fa363631ef7a47444e8217 (patch) | |
| tree | 020c028a93f113e372e70f485857ce04dea5db3d /src/lib/video_content.cc | |
| parent | 8c6fe8e1e8c8f6d5932606f2a5b6e1b87681ae38 (diff) | |
Various bits and pieces.
Diffstat (limited to 'src/lib/video_content.cc')
| -rw-r--r-- | src/lib/video_content.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/video_content.cc b/src/lib/video_content.cc index e07773048..2e413678f 100644 --- a/src/lib/video_content.cc +++ b/src/lib/video_content.cc @@ -34,22 +34,22 @@ using std::setprecision; using boost::shared_ptr; using boost::lexical_cast; -VideoContent::VideoContent (Time s, ContentVideoFrame len) - : Content (s) +VideoContent::VideoContent (shared_ptr<const Film> f, Time s, ContentVideoFrame len) + : Content (f, s) , _video_length (len) { } -VideoContent::VideoContent (boost::filesystem::path f) - : Content (f) +VideoContent::VideoContent (shared_ptr<const Film> f, boost::filesystem::path p) + : Content (f, p) , _video_length (0) { } -VideoContent::VideoContent (shared_ptr<const cxml::Node> node) - : Content (node) +VideoContent::VideoContent (shared_ptr<const Film> f, shared_ptr<const cxml::Node> node) + : Content (f, node) { _video_length = node->number_child<ContentVideoFrame> ("VideoLength"); _video_size.width = node->number_child<int> ("VideoWidth"); |
