<html><head></head><body>This leads to very obvious dead lock. <br><br><div class="gmail_quote">Le 8 novembre 2019 19:56:17 GMT+09:00, Thomas Guillem <thomas@gllm.fr> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">This fixes the window size that was ignored when the size was updated from the<br>open callback of the window plugin.<br><br>Fixes #22674<hr> src/video_output/video_output.c | 6 ++++++<br> 1 file changed, 6 insertions(+)<br><br>diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c<br>index db48538fd9c..ff36250d23d 100644<br>--- a/src/video_output/video_output.c<br>+++ b/src/video_output/video_output.c<br>@@ -424,7 +424,13 @@ void vout_ChangeDisplaySize(vout_thread_t *vout,<br> assert(!sys->dummy);<br> <br> /* DO NOT call this outside the vout window callbacks */<br>+ vlc_mutex_lock(&sys->window_lock);<br>+ sys->display_cfg.display.width = width;<br>+ sys->display_cfg.display.height = height;<br>+<br> vlc_mutex_lock(&sys->display_lock);<br>+ vlc_mutex_unlock(&sys->window_lock);<br>+<br> if (sys->display != NULL)<br> vout_display_SetSize(sys->display, width, height);<br> vlc_mutex_unlock(&sys->display_lock);</pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>