<html><head></head><body>Hi,<br><br>I don't really see the point. The callees have to read the data synchronously, as there are no guarantees later that the storage space has not been overwritten.<br><br><div class="gmail_quote">Le 17 juillet 2019 11:57:09 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 not converted to a value but used as an address.<hr> modules/video_output/win32/sensors.cpp | 5 +++--<br> 1 file changed, 3 insertions(+), 2 deletions(-)<br><br>diff --git a/modules/video_output/win32/sensors.cpp b/modules/video_output/win32/sensors.cpp<br>index 17727afaad..f256cf3e7f 100644<br>--- a/modules/video_output/win32/sensors.cpp<br>+++ b/modules/video_output/win32/sensors.cpp<br>@@ -123,13 +123,13 @@ public:<br> PropVariantClear(&pvRot);<br> }<br> <br>- vlc_viewpoint_t vp = {<br>+ sent_pos = {<br> old_pos.yaw - current_pos.yaw,<br> old_pos.pitch - current_pos.pitch,<br> old_pos.roll - current_pos.roll,<br> 0.0f<br> };<br>- vout_display_SendEventViewpointMoved(vd, &vp);<br>+ vout_display_SendEventViewpointMoved(vd, &sent_pos);<br> return S_OK;<br> }<br> <br>@@ -150,6 +150,7 @@ public:<br> private:<br> vout_display_t *const vd;<br> vlc_viewpoint_t current_pos;<br>+ vlc_viewpoint_t sent_pos;<br> long m_cRef;<br> };<br> </pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>