summaryrefslogtreecommitdiff
path: root/gst-libs/gst/gl/gstgldisplay.c
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2015-12-14 13:43:59 +1100
committerMatthew Waters <matthew@centricular.com>2015-12-14 16:35:32 +1100
commit2b7495bbc1ee60c0fa52c980daf440d45ae48d37 (patch)
tree7d6fc31ce976609988065d7439b51469eefc14a8 /gst-libs/gst/gl/gstgldisplay.c
parent6cf8da132b6eb75084871ac4409356be62537b2f (diff)
downloadgstreamer-plugins-bad-2b7495bbc1ee60c0fa52c980daf440d45ae48d37.tar.gz
glmemory: base classify and add the pbo memory on top
The base class is useful for having multiple backing memory types other than the default. e.g. IOSurface, EGLImage, dmabuf? The PBO transfer logic is now inside GstGLMemoryPBO which uses GstGLBuffer to manage the PBO memory. This also moves the format utility functions into their own file.
Diffstat (limited to 'gst-libs/gst/gl/gstgldisplay.c')
-rw-r--r--gst-libs/gst/gl/gstgldisplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/gl/gstgldisplay.c b/gst-libs/gst/gl/gstgldisplay.c
index 10e9ef78e..79c173662 100644
--- a/gst-libs/gst/gl/gstgldisplay.c
+++ b/gst-libs/gst/gl/gstgldisplay.c
@@ -140,8 +140,8 @@ gst_gl_display_init (GstGLDisplay * display)
GST_TRACE ("init %p", display);
gst_gl_base_buffer_init_once ();
- gst_gl_memory_init ();
gst_gl_buffer_init_once ();
+ gst_gl_memory_pbo_init_once ();
#if GST_GL_HAVE_PLATFORM_EGL
gst_egl_image_memory_init ();