From baaf404f2be936dff082e179521f0cb468375135 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Thu, 17 Nov 2016 19:56:35 +1100 Subject: [PATCH] videodecoder: remove use of EGLImage orientation New code should use GstVideoTransformationMeta (The defaults do the right thing here though). --- omx/gstomxvideodec.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c index 6baaa48..1e7d436 100644 --- a/omx/gstomxvideodec.c +++ b/omx/gstomxvideodec.c @@ -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); -- 2.7.4