Split KDM output stuff into a separate panel.
[dcpomatic.git] / test / seek_zero_test.cc
index 5f870ba41f7605ceae92d2e28acb3cc1dcd2e37d..ad8ecb09f7730b7c7913f887e9045c7d0cde9093 100644 (file)
@@ -31,6 +31,7 @@
 #include "lib/ffmpeg_audio_stream.h"
 #include "lib/content_video.h"
 #include "test.h"
+#include <iostream>
 
 using std::cout;
 using std::list;
@@ -59,7 +60,7 @@ BOOST_AUTO_TEST_CASE (seek_zero_test)
 
        Frame const first_frame = video_delay.round_up (content->video_frame_rate ()).frames_round (content->video_frame_rate ());
 
-       FFmpegDecoder decoder (content, film->log());
+       FFmpegDecoder decoder (content, film->log(), false);
        list<ContentVideo> a = decoder.get_video (first_frame, true);
        BOOST_CHECK (a.size() == 1);
        BOOST_CHECK_EQUAL (a.front().frame, first_frame);