diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-11-22 14:54:31 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-04-19 23:04:32 +0100 |
| commit | e11276a822289d7d7d91a4f431f386ad28ef16dd (patch) | |
| tree | 83c1162b3beb7f9fa11b24409309747dd9753959 /src/lib/ffmpeg_decoder.cc | |
| parent | c6b0eb4db564abd41aa0685367a8660d7091e8f8 (diff) | |
Various work on the audio code.
Diffstat (limited to 'src/lib/ffmpeg_decoder.cc')
| -rw-r--r-- | src/lib/ffmpeg_decoder.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ffmpeg_decoder.cc b/src/lib/ffmpeg_decoder.cc index 32903a20e..57fe55892 100644 --- a/src/lib/ffmpeg_decoder.cc +++ b/src/lib/ffmpeg_decoder.cc @@ -405,6 +405,8 @@ FFmpegDecoder::decode_audio_packet () LOG_WARNING ("Crazy timestamp %1", to_string (ct)); } + audio->set_position (*stream, ct); + /* Give this data provided there is some, and its time is sane */ if (ct >= ContentTime() && data->frames() > 0) { audio->emit (*stream, data, ct); |
