[mythtv] [PATCH] better avi seek support

Mark Spieth mark at dclabs.com.au
Wed May 4 23:42:23 UTC 2005


> Is there any reason why the avformat seeking functions can't be used for
cases
> where there's no myth seektable?

Im not sure how the whole thing hangs together but the IO routines are
overridden to use ringbuffer functions and seek only works on a byte offset
value.
the avformat functions including seek and read I dont believe are used as
the stream interface is used.
this might confuse the stream reader. so I chose to remain with the existing
interface and just adjust things minimally.
as I said its a big hack and there is probably a better way.
but the url_fseek call in avi_read_seek is the problem I had to get around
for minimum impact on the ringbuffer stream reader (local file mode).
does the avi_read_packet function get called eventually?
as far as I can tell the answer is no. thus no byteiocontext is being used.
I could be wrong (and probably am =).

cheers
mark



More information about the mythtv-dev mailing list