diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-05-10 14:29:14 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-05-18 11:50:29 +0100 |
| commit | 504c63b3d62038bc486ca8a09e77fbb403907edd (patch) | |
| tree | d9118c185110dd9eb103ed033700d4b3f486785d /test/ffmpeg_decoder_seek_test.cc | |
| parent | 9423e02c37daba7f9e406929a1cfc1bb10fb4b62 (diff) | |
Basics of splitting up Decoder tree like Content.
Diffstat (limited to 'test/ffmpeg_decoder_seek_test.cc')
| -rw-r--r-- | test/ffmpeg_decoder_seek_test.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/ffmpeg_decoder_seek_test.cc b/test/ffmpeg_decoder_seek_test.cc index 2a9b4da71..83efc4201 100644 --- a/test/ffmpeg_decoder_seek_test.cc +++ b/test/ffmpeg_decoder_seek_test.cc @@ -29,6 +29,8 @@ #include "lib/ffmpeg_decoder.h" #include "lib/null_log.h" #include "lib/film.h" +#include "lib/content_video.h" +#include "lib/video_decoder.h" #include "test.h" #include <boost/test/unit_test.hpp> #include <boost/filesystem.hpp> @@ -44,7 +46,7 @@ static void check (shared_ptr<FFmpegDecoder> decoder, int frame) { list<ContentVideo> v; - v = decoder->get_video (frame, true); + v = decoder->video->get_video (frame, true); BOOST_CHECK (v.size() == 1); BOOST_CHECK_EQUAL (v.front().frame, frame); } |
