[vlc-devel] [PATCH 0/6] Allow the vout_window implementation to suspend rendering

Rémi Denis-Courmont remi at remlab.net
Fri Feb 5 09:34:59 UTC 2021

Le perjantaina 5. helmikuuta 2021, 11.01.51 EET Alexandre Janniaux a écrit :
> This patchset enables the vout_window implementation to suspend
> the rendering with the vout_display. This is primarily designed
> for iOS where the application can be moved to the background and
> should not submit any draw commands from there, but it should
> also match other cases where the application can stop doing the
> rendering,

This is currently handled entirely within the display plugins, which has the 
disadvantage that it can't skip filters and conversions, but has the advantage 
that, well, it's implemented.

> for instance because the application is not visible
> anymore, and thus should also be usable in cases like Wayland.

I doubt that this would work for Wayland as is. I would expect that tthe 
window provider needs to acknowledge the rendering resumption request from the 
display server, and that it should only do so whence a picture is rendered.

But here, the callback returns immediately, regardless of the progress (or 
rather the lack thereof) by the video output thread.

Rémi Denis-Courmont

More information about the vlc-devel mailing list