[vlc-devel] [PATCH v3 00/18] Get rid of the control command API

Rémi Denis-Courmont remi at remlab.net
Thu Aug 20 21:45:58 CEST 2020


Le jeudi 20 août 2020, 21:29:48 EEST Steve Lhomme a écrit :
> On 2020-08-20 18:11, Rémi Denis-Courmont wrote:
> > Hi,
> > 
> > Badly designed or implemented plugins are what they are. Just as big
> > loops in the UI thread are bad for interactivity, big loops in the
> > render thread are bad for timeliness. And besides those egregiously
> > broken plugins you have, e.g., rotate and transform who actually
> > translate the mouse event, and should obviously run synchronously - not
> > at the next render.
> 
> Synchronously ? I have seen nothing in the UI thread, the one that will
> display the rendered result, that says a frame is allowed to be
> displayed ASAP. It will wait until the next loop, in that thread.
> Putting that in the UI thread is just pretending the rendering will be
> more responsive.

Pretending? How do you need the rendering to translate mouse coordinates 
through the transform filter? and eventually to pass mouse events to the input?

Even plotting the cursor does not need the VLC rendering. Only thing that does 
is updating the Puzzle and such, not exactly everyday use cases.

-- 
Rémi Denis-Courmont




More information about the vlc-devel mailing list