summaryrefslogtreecommitdiff
path: root/src/lib/video_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-01-02 13:02:30 +0000
committerCarl Hetherington <cth@carlh.net>2014-01-02 13:02:30 +0000
commit3dfdd5795cf6514e15fdbece54c28f3bddc2aadc (patch)
tree0b6a71d8d5c8be03ff424da5c5b0b42fb5f3018a /src/lib/video_content.h
parent30e45dd697afc053f2d7be4ee2bc154e5061ad80 (diff)
Rationalise video/audio frame types.
Diffstat (limited to 'src/lib/video_content.h')
-rw-r--r--src/lib/video_content.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/video_content.h b/src/lib/video_content.h
index f008143fa..d03aa9ce4 100644
--- a/src/lib/video_content.h
+++ b/src/lib/video_content.h
@@ -43,7 +43,7 @@ public:
typedef int Frame;
VideoContent (boost::shared_ptr<const Film>);
- VideoContent (boost::shared_ptr<const Film>, DCPTime, VideoContent::Frame);
+ VideoContent (boost::shared_ptr<const Film>, DCPTime, VideoFrame);
VideoContent (boost::shared_ptr<const Film>, boost::filesystem::path);
VideoContent (boost::shared_ptr<const Film>, boost::shared_ptr<const cxml::Node>);
VideoContent (boost::shared_ptr<const Film>, std::vector<boost::shared_ptr<Content> >);
@@ -53,7 +53,7 @@ public:
virtual std::string information () const;
virtual std::string identifier () const;
- VideoContent::Frame video_length () const {
+ VideoFrame video_length () const {
boost::mutex::scoped_lock lm (_mutex);
return _video_length;
}
@@ -123,12 +123,12 @@ public:
libdcp::Size video_size_after_3d_split () const;
libdcp::Size video_size_after_crop () const;
- VideoContent::Frame time_to_content_video_frames (DCPTime) const;
+ VideoFrame time_to_content_video_frames (DCPTime) const;
protected:
void take_from_video_examiner (boost::shared_ptr<VideoExaminer>);
- VideoContent::Frame _video_length;
+ VideoFrame _video_length;
private:
friend class ffmpeg_pts_offset_test;