diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-11-22 15:49:54 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-11-22 15:49:54 +0000 |
| commit | af474db6af17d468b42fbae8bd4c3e80dcfd0588 (patch) | |
| tree | e7cf2ccb4d14d7121a9a65f5989e4bc66275737d /src/lib/video_content.cc | |
| parent | 68808da4a0f8c60ac93cd0bbc3ea776d16503a6a (diff) | |
Make MovingImageContent use Content::_paths rather than its own _files list.
Diffstat (limited to 'src/lib/video_content.cc')
| -rw-r--r-- | src/lib/video_content.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/video_content.cc b/src/lib/video_content.cc index d0eab4dbf..743e6eb18 100644 --- a/src/lib/video_content.cc +++ b/src/lib/video_content.cc @@ -46,6 +46,16 @@ using boost::shared_ptr; using boost::lexical_cast; using boost::optional; +VideoContent::VideoContent (shared_ptr<const Film> f) + : Content (f) + , _video_length (0) + , _video_frame_rate (0) + , _video_frame_type (VIDEO_FRAME_TYPE_2D) + , _ratio (Ratio::from_id ("185")) +{ + setup_default_colour_conversion (); +} + VideoContent::VideoContent (shared_ptr<const Film> f, Time s, VideoContent::Frame len) : Content (f, s) , _video_length (len) |
