Merge branch 'master' into 2.0
[dcpomatic.git] / src / lib / util.h
index 9b201a50e7ab6cf92e59c2233809d1828d0b5ca7..a84e7e4cf815522ae65ffa6cf52bebbf46849210 100644 (file)
@@ -119,6 +119,7 @@ struct FrameRateChange
 
 extern int dcp_audio_frame_rate (int);
 extern int stride_round_up (int, int const *, int);
+extern DCPTime time_round_up (DCPTime, DCPTime);
 extern std::multimap<std::string, std::string> read_key_value (std::istream& s);
 extern int get_required_int (std::multimap<std::string, std::string> const & kv, std::string k);
 extern float get_required_float (std::multimap<std::string, std::string> const & kv, std::string k);
@@ -165,7 +166,7 @@ private:
        int _timeout;
 };
 
-extern int64_t video_frames_to_audio_frames (VideoContent::Frame v, float audio_sample_rate, float frames_per_second);
+extern int64_t video_frames_to_audio_frames (VideoFrame v, float audio_sample_rate, float frames_per_second);
 
 class LocaleGuard
 {