[MPlayer-dev-eng] [RFC] stream controls with cache
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Fri May 23 19:22:35 CEST 2008
On Fri, May 23, 2008 at 07:33:46PM +0200, Alban Bedel wrote:
> On Thu, 22 May 2008 12:24:16 +0200
> Reimar Döffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> 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?
>
> I find it OK, but IMHO there is only 2 solution that can totally fix
> this problem: add a non-blocking mode to the stream API or switch the
> cache to use a thread.
For Windows the cache already uses a thread, but it probably has even
more problems currently.
For Linux, a system that communicates via a pipe while being more effort
could well be more reliable actually.
But I think someone already started implementing cache via posix threads, but
it got stuck for some reason...
Greetings,
Reimar Döffinger
More information about the MPlayer-dev-eng
mailing list