mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-10 10:04:23 +00:00
amcvideodec: update for GLMemory API changes
This commit is contained in:
parent
6519622eb0
commit
fd3203cfeb
1 changed files with 1 additions and 1 deletions
|
@ -1302,7 +1302,7 @@ retry:
|
|||
state = gst_video_decoder_get_output_state (GST_VIDEO_DECODER (self));
|
||||
|
||||
if (!self->oes_mem) {
|
||||
self->oes_mem = (GstGLMemory *) gst_gl_memory_alloc (self->gl_context,
|
||||
self->oes_mem = (GstGLMemory *) gst_gl_memory_pbo_alloc (self->gl_context,
|
||||
GST_GL_TEXTURE_TARGET_EXTERNAL_OES, NULL, &state->info, 0, NULL);
|
||||
|
||||
gst_gl_context_thread_add (self->gl_context,
|
||||
|
|
Loading…
Reference in a new issue