diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-02-21 21:42:44 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-04-19 23:04:32 +0100 |
| commit | 89aa9d4ba69e471949f791cdafe4ae20cea554d2 (patch) | |
| tree | a8260555268d392292775a2851d8780e5612091b /src/lib/ffmpeg_decoder.cc | |
| parent | 7db99ef207c68910ee96a3e806c9832e8f90b219 (diff) | |
Various fixes to push audio vaguely in the right direction.
Diffstat (limited to 'src/lib/ffmpeg_decoder.cc')
| -rw-r--r-- | src/lib/ffmpeg_decoder.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_decoder.cc b/src/lib/ffmpeg_decoder.cc index b7b70e061..1bae99d63 100644 --- a/src/lib/ffmpeg_decoder.cc +++ b/src/lib/ffmpeg_decoder.cc @@ -112,7 +112,6 @@ FFmpegDecoder::flush () if (audio) { decode_audio_packet (); - audio->flush (); } } @@ -299,6 +298,8 @@ FFmpegDecoder::bytes_per_audio_sample (shared_ptr<FFmpegAudioStream> stream) con void FFmpegDecoder::seek (ContentTime time, bool accurate) { + Decoder::seek (time, accurate); + /* If we are doing an `accurate' seek, we need to use pre-roll, as we don't really know what the seek will give us. */ |
