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:
Matthew Waters 2015-10-30 16:38:17 +11:00
parent 8779144826
commit 34c523c3b9

View file

@ -179,7 +179,7 @@ gl_mem_from_buffer (GstCoreVideoTextureCache * cache,
GL_RGBA, GL_UNSIGNED_BYTE, 0, &texture) != kCVReturnSuccess)
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,
CVOpenGLESTextureGetName (texture), gl_target,