input/ffmpeg: update offset after seeking

This commit is contained in:
Max Kellermann 2014-08-18 09:52:53 +02:00
parent 27139bf41f
commit 41a4b280ee
2 changed files with 2 additions and 0 deletions

1
NEWS
View File

@ -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

View File

@ -143,6 +143,7 @@ FfmpegInputStream::Seek(offset_type new_offset, Error &error)
return false;
}
offset = result;
eof = false;
return true;
}