gl_target = gst_gl_texture_target_from_gl (CVOpenGLTextureGetTarget (texture));
- *mem1 = (GstMemory *) gst_gl_memory_wrapped_texture (cache->ctx,
+ *mem1 = (GstMemory *) gst_gl_memory_pbo_wrapped_texture (cache->ctx,
CVOpenGLTextureGetName (texture), gl_target,
&cache->input_info, 0, NULL, texture, (GDestroyNotify) CFRelease);
break;
gl_target = gst_gl_texture_target_from_gl (CVOpenGLESTextureGetTarget (texture));
- *mem1 = (GstMemory *) gst_gl_memory_wrapped_texture (cache->ctx,
+ *mem1 = (GstMemory *) gst_gl_memory_pbo_wrapped_texture (cache->ctx,
CVOpenGLESTextureGetName (texture), gl_target,
&cache->input_info, 0, NULL, texture, (GDestroyNotify) CFRelease);
break;
goto error;
gl_target = gst_gl_texture_target_from_gl (CVOpenGLESTextureGetTarget (texture));
- *mem1 = (GstMemory *) gst_gl_memory_wrapped_texture (cache->ctx,
+ *mem1 = (GstMemory *) gst_gl_memory_pbo_wrapped_texture (cache->ctx,
CVOpenGLESTextureGetName (texture), gl_target,
&cache->input_info, 0, NULL, texture, (GDestroyNotify) CFRelease);
goto error;
gl_target = gst_gl_texture_target_from_gl (CVOpenGLESTextureGetTarget (texture));
- *mem2 = (GstMemory *) gst_gl_memory_wrapped_texture (cache->ctx,
+ *mem2 = (GstMemory *) gst_gl_memory_pbo_wrapped_texture (cache->ctx,
CVOpenGLESTextureGetName (texture), gl_target,
&cache->input_info, 0, NULL, texture, (GDestroyNotify) CFRelease);
break;