mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-07 23:12:42 +00:00
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.
This commit is contained in:
parent
29975746dc
commit
8fef381417
1 changed files with 0 additions and 2 deletions
|
@ -648,8 +648,6 @@ _gl_mem_init (GstGLMemory * mem, GstAllocator * allocator, GstMemory * parent,
|
||||||
else
|
else
|
||||||
gst_video_alignment_reset (&mem->valign);
|
gst_video_alignment_reset (&mem->valign);
|
||||||
|
|
||||||
gst_video_info_align (&mem->info, &mem->valign);
|
|
||||||
|
|
||||||
maxsize = gst_gl_get_plane_data_size (info, valign, plane);
|
maxsize = gst_gl_get_plane_data_size (info, valign, plane);
|
||||||
|
|
||||||
gst_memory_init (GST_MEMORY_CAST (mem), GST_MEMORY_FLAG_NO_SHARE,
|
gst_memory_init (GST_MEMORY_CAST (mem), GST_MEMORY_FLAG_NO_SHARE,
|
||||||
|
|
Loading…
Reference in a new issue