mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 21:51:09 +00:00
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:
parent
dcdb424424
commit
05d819a9a5
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue