[MPlayer-dev-eng] [RFC] stream controls with cache

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu May 22 12:55:13 CEST 2008


Hello,
On Thu, May 22, 2008 at 12:24:16PM +0200, Reimar Döffinger wrote:
> something is still behaving a bit weird, but in principle attached patch
> makes stream controls work through the cache (chapter seeking only so
> far).
> At least for cdda:// it works, though there is some code in the stream
> layer that prints the current track number which results in really ugly
> output...
> Do you think this is an acceptable way to do this?

Updated. Works for dvd://, only the functions to get current time and
length are disabled, since the MPlayer core currently assumes that these
functions are fast, which with this emulation they are no longer.
Total time could be fixed by just storing this value in a cache struct
variable and updating it from time to time.
Actually the same would be possible for current time, but that will not
be accurate anyway I think.

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list