[vlc-devel] [PATCH] Add an access-demux which can retrieve raw subtitles

Rémi Denis-Courmont rem at videolan.org
Wed Mar 24 14:02:42 CET 2010


On Wednesday 24 March 2010 08:35:10 Pierre Ynard, you wrote:
> > Hmm no, there is really nothing wrong with the cache.
> 
> Apparently, stream_ReadLine() blocks unless there is enough data to be
> put into the cache. Which means that I can never fetch the last line
> of text that was just input. I have to wait until tens more lines of
> text are input, which might happen minutes or hours later, or simply
> never. So this is not a timestamp problem, this is a problem of fetching
> data that should be available, but that the stream layer fails to fetch
> because it's too greedy.

If that's true, then it's a bug in the cache. A bug in the cache needs to be 
fixed, not worked around.


-- 
Rémi Denis-Courmont



More information about the vlc-devel mailing list