mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-21 21:46:22 +00:00
glmemory: disable automatic pbo upload
until we can track where the data is/or is going to be.
This commit is contained in:
parent
a08dd85608
commit
c6f548326d
1 changed files with 0 additions and 7 deletions
|
@ -884,13 +884,6 @@ _gl_mem_unmap (GstGLMemory * gl_mem)
|
||||||
{
|
{
|
||||||
g_mutex_lock (&gl_mem->lock);
|
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)
|
if (--gl_mem->map_count <= 0)
|
||||||
gl_mem->map_flags = 0;
|
gl_mem->map_flags = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue