[gstreamer-bugs] [Bug 639506] XvQueryImageAttributes width/height parameters are not taken into account
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sat Jan 15 12:47:24 PST 2011
https://bugzilla.gnome.org/show_bug.cgi?id=639506
GStreamer | gst-plugins-base | 0.10.x
--- Comment #7 from David Schleef <ds at schleef.org> 2011-01-15 20:47:21 UTC ---
GStreamer doesn't use XVQueryImageAttributes() for historical reasons that are
mostly no longer relevant. Back in the day, only one driver implemented
XVQueryImageAttributes(), and did so incorrectly. It was noted at the time
that all existing hardware and drivers expected the same memory layouts, which
not coincidentally were exactly the same layouts that DirectShow used. So we
standardized on that layout, and it's still part of the ABI today. In 0.11,
we're planning to remove the layout restriction.
For now, it would probably be best to make the driver handle the standard
strides, even if it means copying the data. 99% of the time, it won't matter,
since almost all video comes in a width divisible by 16, although the height
often isn't. (And it's only the small sizes that are problematic.)
--
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