[vlc-devel] [PATCH v2 09/20] deinterlace: implement draining of extra pictures

Romain Vimont rom1v at videolabs.io
Thu Oct 15 21:41:10 CEST 2020

On Wed, Oct 14, 2020 at 07:25:22PM +0300, Rémi Denis-Courmont wrote:
> Le keskiviikkona 14. lokakuuta 2020, 15.39.09 EEST Steve Lhomme a écrit :
> > Each filter using the common deinterlacing code now calls DoDrain (similar
> > to DoDeinterlacing) to do its draining.
> That does not sound like what is usually called draining, which means to 
> process all buffers *before* an end or a discontinuity.

I agree, this is different from "draining" IMO (I made the same remark
when we discussed about this mechanism with Alexandre few weeks ago).

However, I think this is just a naming issue.

The goal is to be able to produce several output pictures, but one at a
time, so that the first picture could be sent to the vout before
processing the second one. This solves real performance issues (as
detailed by Alexandre [1]).

[1] https://mailman.videolan.org/pipermail/vlc-devel/2020-October/139336.html

Why not using filter(NULL) instead of a new callback?


More information about the vlc-devel mailing list