diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-01 14:13:10 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-01 14:13:10 +0100 |
| commit | 45e6a6df959188bfdb8dfc4906c35d1a3c234b0a (patch) | |
| tree | 4cb99aaf4d8ec3d2c6f157d5315887319de5c0d8 /src/lib/video_content.cc | |
| parent | 05654d0e1799746a9df3ccab040c92e0ed825cac (diff) | |
Add a Type to Time.
Diffstat (limited to 'src/lib/video_content.cc')
| -rw-r--r-- | src/lib/video_content.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/video_content.cc b/src/lib/video_content.cc index f52a75e70..97e7915df 100644 --- a/src/lib/video_content.cc +++ b/src/lib/video_content.cc @@ -96,7 +96,7 @@ VideoContent::VideoContent (shared_ptr<const Film> f, cxml::ConstNodePtr node, i /* DCP-o-matic 1.0 branch */ _video_length = ContentTime::from_frames (node->number_child<int64_t> ("VideoLength"), _video_frame_rate); } else { - _video_length = ContentTime (node->number_child<int64_t> ("VideoLength")); + _video_length = ContentTime (node->number_child<ContentTime::Type> ("VideoLength")); } _video_frame_type = static_cast<VideoFrameType> (node->number_child<int> ("VideoFrameType")); |
