[vlc-devel] [PATCH] Revert "video_output: translate the mouse coordinates to display coordinates early"

Zhao Zhili quinkblack at foxmail.com
Tue Nov 3 18:42:11 CET 2020



> On Nov 3, 2020, at 10:09 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> 
> Le tiistaina 3. marraskuuta 2020, 13.56.58 EET Steve Lhomme a écrit :
>> This reverts commit 5b2129eda58a4a19d37a9fb33e64af3777555233.
>> 
>> This causes deadlocks with display modules where the display and windowing
>> is tied.
> 
> As I *already* pointed out earlier, no, this patch did not introduce any 
> deadlock. Pretty much all (other) window events also take the display lock. 
> That lock ordering constraint on window events is preexisting and remains with 
> or without this revert. Conversely, any deadlock would be preexisting and 
> remaining unfixed.
> 
> Indeed, in the case of the MacOS vout, that deadlock bug is even explicitly 
> documented in the code already (look for FIXME).
> 
> All this revert really does on (not already broken setups) is increase the 
> latency and thus the error on the mouse coordinate translation. With the 
> revert, translation is bottlenecked by whatever the video output control 
> thread does.

Without the revert, I can't make any progress on any part of the code.
I can keep the revert on my local branch for a period of time.

> 
> -1
> 
> -- 
> 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