[vlc-devel] [PATCH] video_output: drop frames that take too much time to process

Thomas Guillem thomas at gllm.fr
Wed Aug 12 11:21:27 CEST 2020


Hello,

On Tue, Aug 11, 2020, at 18:51, Rémi Denis-Courmont wrote:
> Le maanantaina 10. elokuuta 2020, 14.32.31 EEST Steve Lhomme a écrit :
> > If a frame arrives at the rendering step later than it's display time (plus
> > the late threshold we allow), there's no way it will be displayed in time
> > or even late with some tolerance.
> > 
> > We can drop it and save some rendering/swap time for the next picture. We
> > just didn't detect the lateness at an upper level.
> 
> Typically, rendering/swapping is not what consumes CPU time.
> This could help or it could make things worse.
> 
> Not sure this is a good idea.

Not sure either. There is also the interactive filter chain that could use a lot of CPU time for nothing (cf. beginning of ThreadDisplayRenderPicture())

> 
> -- 
> Rémi Denis-Courmont
> http://www.remlab.net/
> 
> 
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list