On Thu, Sep 27, 2012 at 1:00 AM, Luca Barbato <[email protected]> wrote:

> On 09/27/2012 04:22 AM, Dale Curtis wrote:
> > On Wed, Sep 26, 2012 at 7:21 PM, <[email protected]> wrote:
> >
> >> From: Dale Curtis <[email protected]>
> >>
> >> Anonymous typedef structs prevent forward declaration, this
> >> change gives the AVIOContext and AVIOInterruptCB structures
> >> a name.  These structures are now in line with other common
> >> structures such as AVFormatContext and AVCodecContext.
> >>
> >> Signed-off-by: Dale Curtis <[email protected]>
> >>
> >
> > Ran into this while converting Chrome over to AVIO from URLProtocol.
> Thanks
> > again for the help Luca!
>
> That reminds me that the ogg demuxer was showing a strange behaviour, is
> that still the case? I hadn't even started working with Monty on sorting
> out how seeking in vorbis/theora should really work.
>

Thanks guys!

The seeking issue turned out to be a bug on my part with a confusingly
named indicator for seekability. I was setting the AVIOContext->seekable to
the opposite of what it should be. I'm not sure why webm and mp4 seeking
worked but ogg did not with the flag turned off. Perhaps something to do
with the binary search approach used by ogg vs having seek indices
available in webm and mp4.

The Chrome side patch set is here if you're curious:
http://codereview.chromium.org/10912080/

- dale
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to