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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jan 16 08:04:09 PST 2014


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

Sebastian Dröge (slomo) <slomo> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #266477|none                        |needs-work
             status|                            |

--- Comment #9 from Sebastian Dröge (slomo) <slomo at coaxion.net> 2014-01-16 16:04:05 UTC ---
Review of attachment 266477:
 --> (https://bugzilla.gnome.org/review?bug=722345&attachment=266477)

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

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