diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> | 2015-02-28 11:55:26 -0500 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> | 2015-02-28 14:32:40 -0500 |
commit | 4db0ef5789880fe588a6372dc457efe37345f464 (patch) | |
tree | 58d7c2ec84b3804ebf780d3fafe6add55e859b39 /gst-libs/gst/gl/gstglmemory.h | |
parent | b8f168cd65fbdc85199bfb4eca2afd1445215880 (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.h | 1 |
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; }; /** |