[vlc-devel] [PATCH] prefetch: reading while paused is valable

Rémi Denis-Courmont remi at remlab.net
Mon Nov 18 21:07:22 CET 2019


Le maanantaina 18. marraskuuta 2019, 19.13.03 EET Alexandre Janniaux a écrit :
> Hi,
> 
> On Mon, Nov 18, 2019 at 05:56:43PM +0200, Rémi Denis-Courmont wrote:
> > I don't see how the error message is wrong. It is not permissible to read
> > from a paused stream, by definition. This patch looks wrong to me.
> The concept of a playback pipeline being paused is fairly simple
> considering the user point of view, but from the internal point of
> view I would have expected that pause is just relative to audio/video
> playback itself, not everything before which would be paced by the
> pool of available resources.

The concept of pause is easy. Data does not flow during pause. There are no 
other reasons why pause was exposed to stream filters and accesses in the first 
place.

-- 
Rémi Denis-Courmont
http://www.remlab.net/





More information about the vlc-devel mailing list