diff options
author | Julien Isorce <julien.isorce@collabora.co.uk> | 2014-05-06 11:27:47 +0100 |
---|---|---|
committer | Julien Isorce <julien.isorce@collabora.co.uk> | 2014-05-06 15:39:12 +0100 |
commit | 2115f11f0b29b0f48e377557fc4ca2ae3a0701e7 (patch) | |
tree | f80af8aee31a19008c3a5d9adf56b8c5d28ddae3 | |
parent | 65381ee664bc58ea65860523084cc39a6684e559 (diff) |
gl: no need to initialize a frame buffer object to upload an eglimage
Fix https://bugzilla.gnome.org/show_bug.cgi?id=729588
-rw-r--r-- | gst-libs/gst/gl/gstglbufferpool.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gst-libs/gst/gl/gstglbufferpool.c b/gst-libs/gst/gl/gstglbufferpool.c index b3df2a052..a9fbbc9c1 100644 --- a/gst-libs/gst/gl/gstglbufferpool.c +++ b/gst-libs/gst/gl/gstglbufferpool.c @@ -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; |