diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-09-21 23:29:35 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-09-21 23:29:35 +0200 |
| commit | 0717e1ca56bbf5334d56e45940ebdaba05506986 (patch) | |
| tree | a177d073b0e0a3d4919cb2c35b692c183d9d3eab /test/72fps_dcp_test.cc | |
| parent | 56062db51268e35bb65e1584d8e0b45fffae65dd (diff) | |
Hackshigher-hz
Diffstat (limited to 'test/72fps_dcp_test.cc')
| -rw-r--r-- | test/72fps_dcp_test.cc | 38 |
1 files changed, 38 insertions, 0 deletions
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 <cth@carlh.net> + + 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 <http://www.gnu.org/licenses/>. + +*/ + + +#include "lib/config.h" +#include "lib/content_factory.h" +#include "lib/film.h" +#include "test.h" +#include <boost/test/unit_test.hpp> + + +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); +} + |
