[mythtv] [patch] Improved seek support for WMA in MythMusic
Isaac Richards
ijr at po.cwru.edu
Sat Jan 10 00:53:36 EST 2004
On Friday 09 January 2004 05:40 pm, Kevin Kuphal wrote:
> I am looking into that. Simply clearing the data structure isn't good
> enough because the seek_frame does a read_packet which expects that there
> be some data in those structures. The major issue is that this data is
> specific to each format. Tweaking it for the ASF struct doesn't do any
> good for reusing this for other codecs. While the open/close method might
> be "nasty", it works, and works rather well without a performance problem
> that I could see.
Well, it wouldn't work for streams, and I imagine it's reading through the
entire file from the beginning to get to the desired portion whenever you
seek, instead of doing that once. But...
> Ultimately, what I really should do is implement the asf_read_seek method
> in libavformat which should address all these issues. Let me loot into
> that. Disregard this diff then.
Allright, that's a much better way to handle it =)
Isaac
More information about the mythtv-dev
mailing list