[vlc-commits] interop_android: allow non-windowed usage

Alexandre Janniaux git at videolan.org
Thu Jan 14 09:41:06 UTC 2021


vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Wed Jan 13 12:07:28 2021 +0100| [a4242735fe38d5dc53f260ba75b2953927995228] | committer: Alexandre Janniaux

interop_android: allow non-windowed usage

We don't use the potentially provided window in the vlc_gl_t
implementation, so it allows non window-baked vlc_gl_t implementation to
be use with this interop.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a4242735fe38d5dc53f260ba75b2953927995228
---

 modules/video_output/opengl/interop_android.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/video_output/opengl/interop_android.c b/modules/video_output/opengl/interop_android.c
index fc9f0e4708..4f3f6dfce8 100644
--- a/modules/video_output/opengl/interop_android.c
+++ b/modules/video_output/opengl/interop_android.c
@@ -144,7 +144,6 @@ Open(vlc_object_t *obj)
     struct vlc_gl_interop *interop = (void *) obj;
 
     if (interop->fmt_in.i_chroma != VLC_CODEC_ANDROID_OPAQUE
-     || !interop->gl->surface->handle.anativewindow
      || !interop->vctx)
         return VLC_EGENERIC;
 



More information about the vlc-commits mailing list