summaryrefslogtreecommitdiff
path: root/gst-libs/gst/gl/gstglmemory.h
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2015-02-28 11:55:26 -0500
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2015-02-28 14:32:40 -0500
commit4db0ef5789880fe588a6372dc457efe37345f464 (patch)
tree58d7c2ec84b3804ebf780d3fafe6add55e859b39 /gst-libs/gst/gl/gstglmemory.h
parentb8f168cd65fbdc85199bfb4eca2afd1445215880 (diff)
glmemory: Use fallback for partial copy
When the memory is partial copy, the texture size and videoinfo no longer make sense. As we cannot guess what the application wants, we safely copy into a sysmem memory. https://bugzilla.gnome.org/show_bug.cgi?id=744246
Diffstat (limited to 'gst-libs/gst/gl/gstglmemory.h')
-rw-r--r--gst-libs/gst/gl/gstglmemory.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/gl/gstglmemory.h b/gst-libs/gst/gl/gstglmemory.h
index 0d745e421..87033c0f5 100644
--- a/gst-libs/gst/gl/gstglmemory.h
+++ b/gst-libs/gst/gl/gstglmemory.h
@@ -190,6 +190,7 @@ void gst_gl_memory_download_transfer (GstGLMemory * gl_mem);
struct _GstGLAllocator
{
GstAllocator parent;
+ GstMemoryCopyFunction fallback_mem_copy;
};
/**