diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-05-23 12:52:49 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-05-23 12:52:49 +0100 |
| commit | 8c6fe8e1e8c8f6d5932606f2a5b6e1b87681ae38 (patch) | |
| tree | 07e1d5f76b0c5fcb614831e72d196dd814132e49 /src/lib/video_content.cc | |
| parent | e8819ad7580f25eea7ca3c59cf0a3979d76a6b44 (diff) | |
Various more hacks.
Diffstat (limited to 'src/lib/video_content.cc')
| -rw-r--r-- | src/lib/video_content.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/video_content.cc b/src/lib/video_content.cc index cb31b6476..e07773048 100644 --- a/src/lib/video_content.cc +++ b/src/lib/video_content.cc @@ -34,6 +34,13 @@ using std::setprecision; using boost::shared_ptr; using boost::lexical_cast; +VideoContent::VideoContent (Time s, ContentVideoFrame len) + : Content (s) + , _video_length (len) +{ + +} + VideoContent::VideoContent (boost::filesystem::path f) : Content (f) , _video_length (0) @@ -81,7 +88,7 @@ void VideoContent::take_from_video_decoder (shared_ptr<VideoDecoder> d) { /* These decoder calls could call other content methods which take a lock on the mutex */ - libdcp::Size const vs = d->native_size (); + libdcp::Size const vs = d->video_size (); float const vfr = d->video_frame_rate (); { |
