diff options
author | Max Kellermann <max@duempel.org> | 2014-08-18 09:52:53 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-08-18 09:52:53 +0200 |
commit | 41a4b280eea21dd584225bb394a0522ddf504964 (patch) | |
tree | 3541fbca155f0ae4bdc4559a8e3a3e047a3b6cd4 /src/input | |
parent | 27139bf41f145fb11ae266baafdf00297404306b (diff) | |
download | mpd-41a4b280eea21dd584225bb394a0522ddf504964.tar.gz mpd-41a4b280eea21dd584225bb394a0522ddf504964.tar.xz mpd-41a4b280eea21dd584225bb394a0522ddf504964.zip |
input/ffmpeg: update offset after seeking
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/plugins/FfmpegInputPlugin.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input/plugins/FfmpegInputPlugin.cxx b/src/input/plugins/FfmpegInputPlugin.cxx index a31014c26..05ad20c36 100644 --- a/src/input/plugins/FfmpegInputPlugin.cxx +++ b/src/input/plugins/FfmpegInputPlugin.cxx @@ -143,6 +143,7 @@ FfmpegInputStream::Seek(offset_type new_offset, Error &error) return false; } + offset = result; eof = false; return true; } |