videodecoder: remove use of EGLImage orientation

New code should use GstVideoTransformationMeta

(The defaults do the right thing here though).
This commit is contained in:
Matthew Waters 2016-11-17 19:56:35 +11:00
parent 157ebe92cf
commit baaf404f2b

View file

@ -659,9 +659,6 @@ gst_omx_video_dec_allocate_output_buffers (GstOMXVideoDec * self)
}
gl_mem = (GstGLMemoryEGL *) mem;
buffers = g_list_append (buffers, buffer);
/* FIXME: replace with the affine transformation meta */
gl_mem->image->orientation =
GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_FLIP;
images = g_list_append (images, gst_gl_memory_egl_get_image (gl_mem));
if (egl_display == EGL_NO_DISPLAY)
egl_display = gst_gl_memory_egl_get_display (gl_mem);