[Bug 722345] directfb: video sink crashes when used with ext_surface

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jan 17 05:48:58 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=722345
  GStreamer | gst-plugins-bad | 1.2.2

Nicolas Dufresne <nicolas.dufresne> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nicolas.dufresne at collabora.
                   |                            |co.uk

--- Comment #16 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2014-01-17 13:48:54 UTC ---
(In reply to comment #9)
> Review of attachment 266477 [details]:
> 
> Please also provide both patches in "git format-patch" format.
> 
> :::
> /home/etrousset/source_ext/gst-1.2.2/gst-plugins-bad-1.2.2.modified/ext/directfb/dfbvideosink.c
> @@ +436,3 @@
> +  if (meta->pixel_format != DSPF_UNKNOWN) {
> +    alloc_size =
> +        meta->width * meta->height * DFB_BYTES_PER_PIXEL (meta->pixel_format);
> 
> With stride I mean how many bytes are used per row, which is usually not
> width*bpp but larger than that

In DirectFB they use the term pitch, see Lock method of Surface, ret_pitch:
http://directfb.org/docs/DirectFB_Reference_1_7/IDirectFBSurface_Lock.html

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