[vlc-devel] [PATCH v2 04/13] video_output: apply the mouse state just before rendering

Steve Lhomme robux4 at ycbcr.xyz
Tue Aug 18 07:12:35 CEST 2020


On 2020-08-17 20:31, RĂ©mi Denis-Courmont wrote:
> Hi,
> 
> I don't understand why atomic_bool here.

So we don't need to take a lock to check if we need to wait in 
ThreadDisplayPicture(). (and release it while before we wait or if we don't)

I don't have a strong feeling for either ways. The display_lock is 
already used for a lot of cases, so one more is not a big deal.


More information about the vlc-devel mailing list