<html><head></head><body><div class="gmail_quote">Le 7 juillet 2017 08:36:40 GMT+03:00, Steve Lhomme <robux4@videolabs.io> 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 done in all other windows vout.<br />---<br /> modules/video_output/win32/direct3d9.c | 3 ++-<br /> 1 file changed, 2 insertions(+), 1 deletion(-)<br /><br />diff --git a/modules/video_output/win32/direct3d9.c b/modules/video_output/win32/direct3d9.c<br />index 1d281b3116..407c5e81f0 100644<br />--- a/modules/video_output/win32/direct3d9.c<br />+++ b/modules/video_output/win32/direct3d9.c<br />@@ -1048,7 +1048,8 @@ static int Direct3D9CreateResources(vout_display_t *vd, video_format_t *fmt)<br /> static void Direct3D9DestroyResources(vout_display_t *vd)<br /> {<br />     Direct3D9DestroyScene(vd);<br />-    picture_pool_Release(vd->sys->sys.pool);<br />+    if (vd->sys->sys.pool)<br />+        picture_pool_Release(vd->sys->sys.pool);<br />     Direct3D9DestroyShaders(vd);<br /> }<br /> </pre></blockquote></div><br clear="all">Yeah... Maybe this should be rationalized everywhere one way or another someday.<br>
-- <br>
Rémi Denis-Courmont<br>
Typed on an inconvenient virtual keyboard</body></html>