[vlc-devel] [PATCH V2 3/4] modules: audio_filter: return vlc_block_discontinuity when needed

Rémi Denis-Courmont remi at remlab.net
Mon Mar 4 16:13:53 CET 2019


Le maanantaina 4. maaliskuuta 2019, 14.42.35 EET Denis Charmet a écrit :
> On 2019-03-04 12:55, Rémi Denis-Courmont wrote:
> > I agree with you (and seemingly Denis) that we should use a real
> > writable block to carry flags. And zero-size block is then the logical
> > way forward.
> 
> I agree that using a special kind of block is kinda dangerous and would
> really prefer an API change to signal discontinuity rather than a block
> be it statically alloc'ed or zero sized.

Then we need a new callback, as it cannot be expressed with a block.

I'm not sure how well that'll work with queues though.

-- 
Реми Дёни-Курмон
http://www.remlab.net/





More information about the vlc-devel mailing list