diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-05-27 02:09:22 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-05-27 02:09:22 +0100 |
| commit | 387304bc9147933b68eda2b38ba8cac0d250e87e (patch) | |
| tree | 0697a08182c94193a3424d44d5f7af4231f0ade3 /src/lib/dcp_examiner.h | |
| parent | fd2b1840496fa121727b7e835843c8beeaebd5eb (diff) | |
Untested use of Frame for video/audio content lengths.
Diffstat (limited to 'src/lib/dcp_examiner.h')
| -rw-r--r-- | src/lib/dcp_examiner.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/dcp_examiner.h b/src/lib/dcp_examiner.h index 26957b3e4..bf083e8ec 100644 --- a/src/lib/dcp_examiner.h +++ b/src/lib/dcp_examiner.h @@ -39,7 +39,7 @@ public: return _video_size.get_value_or (dcp::Size (1998, 1080)); } - ContentTime video_length () const { + Frame video_length () const { return _video_length; } @@ -59,7 +59,7 @@ public: return _audio_channels.get_value_or (0); } - ContentTime audio_length () const { + Frame audio_length () const { return _audio_length; } @@ -74,10 +74,10 @@ public: private: boost::optional<float> _video_frame_rate; boost::optional<dcp::Size> _video_size; - ContentTime _video_length; + Frame _video_length; boost::optional<int> _audio_channels; boost::optional<int> _audio_frame_rate; - ContentTime _audio_length; + Frame _audio_length; std::string _name; bool _has_subtitles; bool _encrypted; |
