using boost::optional;
#if BOOST_VERSION >= 106100
using namespace boost::placeholders;
#endif
using namespace dcpomatic;
using boost::optional;
#if BOOST_VERSION >= 106100
using namespace boost::placeholders;
#endif
using namespace dcpomatic;
- shared_ptr<Film> film = new_test_film ("ffmpeg_decoder_seek_test_" + file.string());
- shared_ptr<FFmpegContent> content (new FFmpegContent (path));
+ auto film = new_test_film ("ffmpeg_decoder_seek_test_" + file.string());
+ auto content = make_shared<FFmpegContent>(path);
test ("boon_telly.mkv", frames);
test ("Sintel_Trailer1.480p.DivX_Plus_HD.mkv", frames);
test ("boon_telly.mkv", frames);
test ("Sintel_Trailer1.480p.DivX_Plus_HD.mkv", frames);
-
- frames.clear ();
- frames.push_back (15);
- frames.push_back (42);
- frames.push_back (999);
- frames.push_back (15);
-
- test ("prophet_long_clip.mkv", frames);
+ test ("prophet_long_clip.mkv", { 15, 42, 999, 15 });