AudioDecoder::_positions is at the resampled rate, if applicable;
authorCarl Hetherington <cth@carlh.net>
Fri, 16 Feb 2018 21:54:01 +0000 (21:54 +0000)
committerCarl Hetherington <cth@carlh.net>
Fri, 16 Feb 2018 21:54:01 +0000 (21:54 +0000)
commita8855402f9bc9815b10405ff68c313f4a4584651
tree9dab0c174986615e425d7acb33c84769e1380879
parent34d07e62e2ca021a304cf56a3262e1e288cf0e6a
AudioDecoder::_positions is at the resampled rate, if applicable;
fix its initial setup.  Fixes problems when seeking deep into
resampled content; before this commit the audio time stamps got
out of whack sufficiently that the butler would fill with video
before any audio made it past the range checks.
src/lib/audio_decoder.cc
src/lib/audio_decoder.h