From 28d088fa2ddc7706408faac35f56a65b5addf824 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Mon, 14 Dec 2015 13:43:59 +1100 Subject: [PATCH] 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. --- ext/qt/gstqsgtexture.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/qt/gstqsgtexture.cc b/ext/qt/gstqsgtexture.cc index 0986a82..13208c0 100644 --- a/ext/qt/gstqsgtexture.cc +++ b/ext/qt/gstqsgtexture.cc @@ -111,7 +111,7 @@ GstQSGTexture::bind () mem = gst_buffer_peek_memory (this->buffer_, 0); g_assert (gst_is_gl_memory (mem)); - context = ((GstGLBaseBuffer *)mem)->context; + context = ((GstGLBaseMemory *)mem)->context; sync_meta = gst_buffer_get_gl_sync_meta (this->sync_buffer_); if (!sync_meta) -- 2.7.4