Fix failure to analyse audio in some cases.
authorCarl Hetherington <cth@carlh.net>
Fri, 8 Jul 2016 20:13:06 +0000 (21:13 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 8 Jul 2016 20:13:06 +0000 (21:13 +0100)
commit02cc8c7680381c123a31c23a43f6b34a04c2115a
tree5891c4c0954a05eaa538feb704cbc99e2ab1d05d
parent167cfacc7fe88f69fa433c46b62a54703ed6dca3
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.
src/lib/audio_decoder_stream.cc
src/lib/job_manager.h
test/audio_analysis_test.cc
test/test.cc
test/test.h