Nicer fix for 2D-labelled-3D checking from master.
[dcpomatic.git] / src / lib / image_decoder.cc
index a9e473f25e52e500d807d59a4a662552c28c4a7c..15187b11b6aa27ef084e24ea759c27163603194f 100644 (file)
@@ -27,6 +27,7 @@
 #include "film.h"
 #include "exceptions.h"
 #include "video_content.h"
+#include "frame_interval_checker.h"
 #include <boost/filesystem.hpp>
 #include <iostream>
 
@@ -35,6 +36,7 @@
 using std::cout;
 using boost::shared_ptr;
 using dcp::Size;
+using namespace dcpomatic;
 
 ImageDecoder::ImageDecoder (shared_ptr<const Film> film, shared_ptr<const ImageContent> c)
        : Decoder (film)
@@ -80,7 +82,6 @@ ImageDecoder::pass ()
 void
 ImageDecoder::seek (ContentTime time, bool accurate)
 {
-       Decoder::seek (
-               time, accurate);
+       Decoder::seek (time, accurate);
        _frame_video_position = time.frames_round (_image_content->active_video_frame_rate(film()));
 }