[gstreamer-bugs] [Bug 630830] zbar: Fixes, single frame scan and width/stride fix

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Oct 14 16:20:41 PDT 2010


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

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk

--- Comment #4 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2010-10-14 23:19:36 UTC ---
(In reply to comment #3)
> (From update of attachment 171276 [details])
> I could not see any need for this in the zbar API -
> http://zbar.sourceforge.net/api/index.html
> 
> Anymore details?

The caps contain the width in pixels, but zbar needs the stride in bytes to
process the image correctly (for 'odd' widths), otherwise it will process the
image in a way that makes it appear as if each line is slightly shifted to the
left compared to the previous line.

For bonus points use:
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstvideo.html#gst-video-format-get-row-stride

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