[Bug 712809] d3dvideosink shows corrupted output with some videos

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat May 31 06:26:49 PDT 2014


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

--- Comment #13 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2014-05-31 13:26:42 UTC ---
(In reply to comment #12)
> YV12 is Y, V, U and I420 is Y, U, V. Windows supports YV12, so we swap here
> accordingly to support both. About that part I'm pretty sure, it works ;)

Oh, didn't realized they had YV12 but not I420, sorry for the confusion.

> It adds another *line* to the Y component if the height is odd? Really? That
> would be a weird default

At least this is my reading of it, would have to ask Wim, but I've seen the
same in all V4L2 drivers. For the power of two thing, I would not guaranty
everything will work in GStreamer we don't don't apply to some basic alignment
rules, like an alignment being a power of 2 ;-P

info->offset[1] = info->stride[0] * GST_ROUND_UP_2 (height);
info->offset[2] = info->offset[1] +
          info->stride[1] * (GST_ROUND_UP_2 (height) / 2);

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