[vorbis-dev] re: Seek problems with vorbis_file
Michael Smith
msmith at xiph.org
Mon May 10 17:03:31 PDT 2004
On Tuesday 11 May 2004 01:43, Paul Knight wrote:
> Hi,
>
> I have been having some problems with ov_pcm_seek in vorbis_file:-
>
> Any seeks to a sample within the first second of the stream (i.e. <
> 44100 samples) fail. Seeks to samples beyond this 44100 limit are fine.
>
> It appears to be associated with vorbis_file trying to read the
> preceding page (odd for the beginning of the file), attempting an
> ov_raw_seek, then bombing out with an OV_EINVAL.
>
> Before diving any further into the code I thought I would ask if this
> was a known (and hopefully resolved) issue? - or if I'm missing
> something:)
>
This should work fine (seeking is well-tested). Could you send us a) your
code, and/or b) an ogg vorbis file this fails with? (the vorbis file off-list
- put it on a web server or something if possible).
It'd also help if you could tell us what version of vorbisfile you're using,
what platform/compiler/version, and any other information you think might be
helpful.
Mike
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis-dev
mailing list