<div class="gmail_quote"><div><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
+        UnlockSurface();<br>
<br>
This function seems to be undefined.<br></blockquote><div> <br><span>it's implemented in extras/package/android/vlc-android/jni/libvlcjni.c, so it will link only with android build</span><br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

+static void AndroidUnlockSurface(picture_t *picture) {<br>
+    picture_sys_t *picsys = picture->p_sys;<br>
+    vout_display_sys_t *sys = picsys->sys;<br>
+<br>
+    if (likely(picsys->surf))<br>
<br>
I might be mistaken, but this should be always true. (As far as I know,<br>
you cannot unlock an unlocked picture.)<br></blockquote></div><br>Maybe, not knowing that, i prefered to make sure<br>