<html><head></head><body>No objections from me.<br><br><div class="gmail_quote">Le 4 avril 2019 12:54:42 GMT+03:00, Steve Lhomme <robux4@ycbcr.xyz> 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">It's better to use the macro that find found if/when the vout_window_t is not<br>a vlc_object_t.<hr> src/video_output/opengl.c | 3 +--<br> 1 file changed, 1 insertion(+), 2 deletions(-)<br><br>diff --git a/src/video_output/opengl.c b/src/video_output/opengl.c<br>index 93527beea7..f17c8ff05c 100644<br>--- a/src/video_output/opengl.c<br>+++ b/src/video_output/opengl.c<br>@@ -64,7 +64,6 @@ vlc_gl_t *vlc_gl_Create(const struct vout_display_cfg *restrict cfg,<br>                         unsigned flags, const char *name)<br> {<br>     vout_window_t *wnd = cfg->window;<br>-    vlc_object_t *parent = (vlc_object_t *)wnd;<br>     struct vlc_gl_priv_t *glpriv;<br>     const char *type;<br> <br>@@ -80,7 +79,7 @@ vlc_gl_t *vlc_gl_Create(const struct vout_display_cfg *restrict cfg,<br>             return NULL;<br>     }<br> <br>-    glpriv = vlc_custom_create(parent, sizeof (*glpriv), "gl");<br>+    glpriv = vlc_custom_create(VLC_OBJECT(wnd), sizeof (*glpriv), "gl");<br>     if (unlikely(glpriv == NULL))<br>         return NULL;<br> </pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>