[mythtv] [PATCH] better avi seek support

Isaac Richards ijr at case.edu
Thu May 5 02:07:35 UTC 2005


On Wednesday 04 May 2005 09:39 pm, Mark Spieth wrote:
> > I'm _fairly_ sure that av_seek_frame() should do the right thing for an
>
> avi,
>
> > even with our replaced i/o functions.  We just need a frame number, that
>
> way,
>
> > and it'll use avformat's internal index.
>
> I have no doubt that that would work.
> however, the file io is not being performed by the same engine, and the
> file handle(s) are not consistent (I think).
> seeking with one handle and reading in the other is not a good thing.
> this is what complicates things.

I have no idea what you're talking about.  The seek would go through the 
ringbuffer just like all other i/o in libavformat would.

Isaac


More information about the mythtv-dev mailing list