projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af023d7
)
glmemory: disable automatic pbo upload
author
Matthew Waters
<matthew@centricular.com>
Sat, 21 Feb 2015 12:29:22 +0000
(23:29 +1100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:31:55 +0000
(19:31 +0000)
until we can track where the data is/or is going to be.
gst-libs/gst/gl/gstglmemory.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglmemory.c
b/gst-libs/gst/gl/gstglmemory.c
index
e9e7791
..
e48b9c5
100644
(file)
--- a/
gst-libs/gst/gl/gstglmemory.c
+++ b/
gst-libs/gst/gl/gstglmemory.c
@@
-884,13
+884,6
@@
_gl_mem_unmap (GstGLMemory * gl_mem)
{
g_mutex_lock (&gl_mem->lock);
- if (gl_mem->map_count <= 1 && gl_mem->map_flags & GST_MAP_WRITE) {
- if (!(gl_mem->map_flags & GST_MAP_GL)) {
- gst_gl_context_thread_add (gl_mem->context,
- (GstGLContextThreadFunc) _transfer_upload, gl_mem);
- }
- }
-
if (--gl_mem->map_count <= 0)
gl_mem->map_flags = 0;