From 2af5a108f173572222902e479a72d2078967c473 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Sat, 21 Feb 2015 23:29:22 +1100 Subject: [PATCH] glmemory: disable automatic pbo upload until we can track where the data is/or is going to be. --- gst-libs/gst/gl/gstglmemory.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/gst-libs/gst/gl/gstglmemory.c b/gst-libs/gst/gl/gstglmemory.c index e9e77915cd..e48b9c5072 100644 --- 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;