mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
[758/906] android: Don't require a window to be set
This allows the filters to be usable without a GL sink downstream.
This commit is contained in:
parent
39b6b5c272
commit
030c8ed624
1 changed files with 0 additions and 6 deletions
|
@ -120,12 +120,6 @@ gst_gl_window_android_egl_create_context (GstGLWindow * window,
|
|||
{
|
||||
GstGLWindowAndroidEGL *window_egl = GST_GL_WINDOW_ANDROID_EGL (window);
|
||||
|
||||
if (!window_egl->native_window) {
|
||||
g_set_error (error, GST_GL_WINDOW_ERROR, GST_GL_WINDOW_ERROR_WRONG_CONFIG,
|
||||
"No native window set");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
window_egl->main_context = g_main_context_new ();
|
||||
window_egl->loop = g_main_loop_new (window_egl->main_context, FALSE);
|
||||
|
||||
|
|
Loading…
Reference in a new issue