[gstreamer-bugs] [Bug 435557] New: [ximagesink] if no XShm available, distorted image with odd widths
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Thu May 3 09:32:34 PDT 2007
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=435557
GStreamer | gst-plugins-base | Ver: HEAD CVS
Summary: [ximagesink] if no XShm available, distorted image with
odd widths
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: t.i.m at zen.co.uk
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
When XShm is not available, XCreateImage() is used and will not always return
an ximage->bytes_per_line that's a multiple of four. However, almost all
elements in GStreamer will assume a row stride that's a multiple of 4 for RGB.
This leads to a distorted image in those cases.
To reproduce:
- add #undef HAVE_XSHM to the top of sys/ximage/ximagesink.h
- try gst-launch-0.10 videotestsrc ! video/x-raw-rgb,width=99 ! ximagesink
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=435557.
More information about the Gstreamer-bugs
mailing list