[vlc-devel] [PATCH 06/10] vout: control: do not wait until the deadline for incoming commands
robux4 at ycbcr.xyz
Fri Jul 17 16:04:34 CEST 2020
On 2020-07-17 15:56, Rémi Denis-Courmont wrote:
> Le perjantaina 17. heinäkuuta 2020, 14.50.49 EEST Steve Lhomme a écrit :
>> Either there are pending commands (filters and mouse handling) and we apply
>> them before processing the next picture. Or there is none and they will be
>> handled with the next frame.
> The deadline served effectively two purposes:
> - prioritise blitting over handling control requests,
> - pace the thread loop.
> I can guess from the commit message that you want to remove the priority
> corner-case (and I don't have any strong opinion on that). But there should be
> some modicum of explanation how pacing works from thereon.
The pacing is done here:
There is still a deadline that forces a wait when the frame is early. If
it's not early (ie late) then there's no pacing and we continue pushing
as fast as we can.
There is a drop mechanism if we try to display a late frame and the next
one is ready to be used and will likely be late as well:
> Patches 1-5 look ok, though the control loop is a dying horse being beat.
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
More information about the vlc-devel