Back-port v2's rename and slight extension of FrameRateConversion.
[dcpomatic.git] / src / lib / ffmpeg_content.cc
index 4ea6dbc6ac4c23f9c3f2cefd747848968b8a3749..4d886a6ddf224ceabc38d15369d9da1bb4261806 100644 (file)
@@ -31,6 +31,7 @@ extern "C" {
 #include "film.h"
 #include "log.h"
 #include "exceptions.h"
+#include "frame_rate_change.h"
 
 #include "i18n.h"
 
@@ -407,7 +408,7 @@ FFmpegContent::full_length () const
        shared_ptr<const Film> film = _film.lock ();
        assert (film);
        
-       FrameRateConversion frc (video_frame_rate (), film->video_frame_rate ());
+       FrameRateChange frc (video_frame_rate (), film->video_frame_rate ());
        return video_length_after_3d_combine() * frc.factor() * TIME_HZ / film->video_frame_rate ();
 }