diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-07-08 21:13:06 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-07-08 21:13:06 +0100 |
| commit | 02cc8c7680381c123a31c23a43f6b34a04c2115a (patch) | |
| tree | 5891c4c0954a05eaa538feb704cbc99e2ab1d05d /test/test.cc | |
| parent | 167cfacc7fe88f69fa433c46b62a54703ed6dca3 (diff) | |
Fix failure to analyse audio in some cases.
This fixes audio-only content when the first-emitted audio is not
at time zero. This used to cause a seek which is not possible
with audio-only. This commit removes the unnecessary seek which
was due to missing silent-padding of the first-emitted audio.
Diffstat (limited to 'test/test.cc')
| -rw-r--r-- | test/test.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test.cc b/test/test.cc index c7a9e95bf..c57f76e61 100644 --- a/test/test.cc +++ b/test/test.cc @@ -291,7 +291,7 @@ check_xml (boost::filesystem::path ref, boost::filesystem::path test, list<strin check_xml (ref_root, test_root, ignore); } -void +bool wait_for_jobs () { JobManager* jm = JobManager::instance (); @@ -322,7 +322,10 @@ wait_for_jobs () if (jm->errors ()) { JobManager::drop (); + return true; } + + return false; } void |
