From 0717e1ca56bbf5334d56e45940ebdaba05506986 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 21 Sep 2025 23:29:35 +0200 Subject: Hacks --- test/72fps_dcp_test.cc | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 test/72fps_dcp_test.cc (limited to 'test/72fps_dcp_test.cc') diff --git a/test/72fps_dcp_test.cc b/test/72fps_dcp_test.cc new file mode 100644 index 000000000..3191c7269 --- /dev/null +++ b/test/72fps_dcp_test.cc @@ -0,0 +1,38 @@ +/* + Copyright (C) 2025 Carl Hetherington + + This file is part of DCP-o-matic. + + DCP-o-matic is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + DCP-o-matic is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with DCP-o-matic. If not, see . + +*/ + + +#include "lib/config.h" +#include "lib/content_factory.h" +#include "lib/film.h" +#include "test.h" +#include + + +BOOST_AUTO_TEST_CASE(unusual_72fps_dcp_test) +{ + auto content = content_factory(TestPaths::private_data() / "arrietty_JP-EN.mkv"); + auto film = new_test_film("unusual_72fps_dcp_test", content); + film->set_video_frame_rate(72); + + Config::instance()->set_log_types(Config::instance()->log_types() | LogEntry::TYPE_DEBUG_PLAYER); + make_and_verify_dcp(film); +} + -- cgit v1.2.3