mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
gl: no need to initialize a frame buffer object to upload an eglimage
Fix https://bugzilla.gnome.org/show_bug.cgi?id=729588
This commit is contained in:
parent
65381ee664
commit
2115f11f0b
1 changed files with 5 additions and 0 deletions
|
@ -175,6 +175,11 @@ gst_gl_buffer_pool_start (GstBufferPool * pool)
|
|||
GstGLBufferPool *glpool = GST_GL_BUFFER_POOL_CAST (pool);
|
||||
GstGLBufferPoolPrivate *priv = glpool->priv;
|
||||
|
||||
#if GST_GL_HAVE_PLATFORM_EGL
|
||||
if (priv->want_eglimage)
|
||||
return GST_BUFFER_POOL_CLASS (parent_class)->start (pool);
|
||||
#endif
|
||||
|
||||
if (!gst_gl_upload_init_format (glpool->upload, &priv->info))
|
||||
goto upload_error;
|
||||
|
||||
|
|
Loading…
Reference in a new issue