From aedfadd972732b9662760318e3628604f5cd7ce2 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Thu, 15 Jan 2015 09:45:21 +1100 Subject: [PATCH] glmemory: remove spurious gst_video_info_align That will be taken care of by the calling code (typically a bufferpool). The GstVideoAlignment is purely informational to compute plane data sizes. --- gst-libs/gst/gl/gstglmemory.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gst-libs/gst/gl/gstglmemory.c b/gst-libs/gst/gl/gstglmemory.c index 50ceb46..2dc656d 100644 --- a/gst-libs/gst/gl/gstglmemory.c +++ b/gst-libs/gst/gl/gstglmemory.c @@ -648,8 +648,6 @@ _gl_mem_init (GstGLMemory * mem, GstAllocator * allocator, GstMemory * parent, else gst_video_alignment_reset (&mem->valign); - gst_video_info_align (&mem->info, &mem->valign); - maxsize = gst_gl_get_plane_data_size (info, valign, plane); gst_memory_init (GST_MEMORY_CAST (mem), GST_MEMORY_FLAG_NO_SHARE, -- 2.7.4