mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
vtdec: fix compilation error
Undefined symbols for architecture x86_64: "__gl_target_to_gst", referenced from: __do_get_gl_buffer in libgstapplemedia_la-corevideotexturecache.o
This commit is contained in:
parent
8779144826
commit
34c523c3b9
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ gl_mem_from_buffer (GstCoreVideoTextureCache * cache,
|
||||||
GL_RGBA, GL_UNSIGNED_BYTE, 0, &texture) != kCVReturnSuccess)
|
GL_RGBA, GL_UNSIGNED_BYTE, 0, &texture) != kCVReturnSuccess)
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
gl_target = _gl_target_to_gst (CVOpenGLESTextureGetTarget (texture));
|
gl_target = gst_gl_texture_target_from_gl (CVOpenGLESTextureGetTarget (texture));
|
||||||
|
|
||||||
*mem1 = (GstMemory *) gst_gl_memory_wrapped_texture (cache->ctx,
|
*mem1 = (GstMemory *) gst_gl_memory_wrapped_texture (cache->ctx,
|
||||||
CVOpenGLESTextureGetName (texture), gl_target,
|
CVOpenGLESTextureGetName (texture), gl_target,
|
||||||
|
|
Loading…
Reference in a new issue