We're not at EOS after a successfull seek (fixes #111498)

Original commit message from CVS:
We're not at EOS after a successfull seek (fixes #111498)
This commit is contained in:
Benjamin Otte 2003-04-24 18:56:47 +00:00
parent dcdb424424
commit 05d819a9a5

View file

@ -315,6 +315,7 @@ gst_vorbisfile_seek (void *datasource, int64_t offset, int whence)
if (!gst_bytestream_seek (vorbisfile->bs, offset, method)) if (!gst_bytestream_seek (vorbisfile->bs, offset, method))
return -1; return -1;
vorbisfile->eos = FALSE;
vorbisfile->offset = pending_offset; vorbisfile->offset = pending_offset;
if (need_total) if (need_total)
vorbisfile->total_bytes = gst_bytestream_tell (vorbisfile->bs) + offset; vorbisfile->total_bytes = gst_bytestream_tell (vorbisfile->bs) + offset;