[vlc-devel] [PATCH 15/17] interop_android: allow non-windowed usage
Alexandre Janniaux
ajanni at videolabs.io
Wed Jan 13 11:07:28 UTC 2021
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.
---
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;
--
2.30.0
More information about the vlc-devel
mailing list