[Bug 741420] videopool: should reset buffer size to buffer pool as video alignment will change buffer size

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Dec 12 23:05:13 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=741420
  GStreamer | gst-plugins-base | 1.4.1

--- Comment #3 from kevin <kevinbing.song at gmail.com> 2014-12-13 07:05:09 UTC ---
Video buffer pool will allocate buffer based on info.size which included
alignment padding. So the buffer size will be info.size. Video buffer pool user
just need set video property, the video buffer size will calculate in video
buffer pool. If set different size with info.size, buffer will always be freed
when release buffer to buffer pool which isn't our use case expectation.
For video buffer pool, video buffer should respect video property. What kind of
use case need user set different size with info.size with respect video
property?
Our use case use video buffer pool with video alignment setting. It works fine
on Gstreamer 1.2.3. when porting to 1.4.1, found buffer pool add size checking
when release buffer to buffer pool as user set size differ with video buffer
size. User set size without video padding, but video buffer pool allocate video
buffer size with video padding.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list