[Bug 738013] v4l2allocator: issue with import_userptr() in single-planar API when n_planes > 1

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jan 23 05:17:06 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=738013
  GStreamer | gst-plugins-good | git master

--- Comment #10 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> 2015-01-23 13:17:01 UTC ---
(In reply to comment #9)
> > 
> > The correct way is to calculate this way:
> >     size = stride[i] * height
> > 
> In fact it's 
>     size = stride[i] * pheight[i]
> no ? 

Yes you are right. The pool is more aware of video format, maybe we should
replace the offset array into size[] array (and do the math in the pool) ?

> 
> > A special case is needed for tiled formats. I think we should fix in a seperate
> > patch, prior to this one.
> I will propose a patch to fix this soon.

Thanks.

-- 
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