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 | |
parent | 27139bf41f145fb11ae266baafdf00297404306b (diff) | |
download | mpd-41a4b280eea21dd584225bb394a0522ddf504964.tar.gz mpd-41a4b280eea21dd584225bb394a0522ddf504964.tar.xz mpd-41a4b280eea21dd584225bb394a0522ddf504964.zip |
input/ffmpeg: update offset after seeking
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/input/plugins/FfmpegInputPlugin.cxx | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -30,6 +30,7 @@ ver 0.19 (not yet released) * input - alsa: new input plugin - curl: options "verify_peer" and "verify_host" + - ffmpeg: update offset after seeking - mms: non-blocking I/O - nfs: new input plugin - smbclient: new input plugin 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; } |