projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dfeae2
)
glmemory: remove spurious gst_video_info_align
author
Matthew Waters
<matthew@centricular.com>
Wed, 14 Jan 2015 22:45:21 +0000
(09:45 +1100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:31:52 +0000
(19:31 +0000)
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
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglmemory.c
b/gst-libs/gst/gl/gstglmemory.c
index
50ceb46
..
2dc656d
100644
(file)
--- 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,