diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-09-02 23:02:35 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-09-02 23:02:35 +0100 |
| commit | d557a34c5eb00549e152b28daba48ffec58936bf (patch) | |
| tree | 1a1f7cd6791e64e7048a722415cfb7b991def3be /test/test.cc | |
| parent | 96bdc3e22a6f7ca3fc5b7d5022080c447e122741 (diff) | |
More end-to-end sound tests.
Diffstat (limited to 'test/test.cc')
| -rw-r--r-- | test/test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.cc b/test/test.cc index 9027b8b71..95d84bcc9 100644 --- a/test/test.cc +++ b/test/test.cc @@ -492,10 +492,10 @@ check_one_frame (boost::filesystem::path dcp_dir, int64_t index, boost::filesyst } boost::filesystem::path -video_file (shared_ptr<const Film> film) +dcp_file (shared_ptr<const Film> film, string prefix) { boost::filesystem::directory_iterator i = boost::filesystem::directory_iterator (film->dir(film->dcp_name())); - while (i != boost::filesystem::directory_iterator() && !boost::algorithm::starts_with (i->path().leaf().string(), "j2c")) { + while (i != boost::filesystem::directory_iterator() && !boost::algorithm::starts_with (i->path().leaf().string(), prefix)) { ++i; } |
