[Bug 796565] New: waylandsink: Error when trying to playback 348x240 in I420

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jun 11 21:50:48 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=796565

            Bug ID: 796565
           Summary: waylandsink: Error when trying to playback 348x240 in
                    I420
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: nicolas at ndufresne.ca
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

There is an error when trying to playback 348x240. This was reported in a
comment here:

  https://bugzilla.gnome.org/show_bug.cgi?id=790057#c28

The issue is that the code currently assumes that the GStreamer default strides
will match the validation code. But this is not true for I420, since GStreamer
will round up by 4 the U and the V stride. So we endup with strides:

  Gst:       348 176 176
  Validate:  348 174 174

I've looked into Weston code, it seems to expect the validated value. Which we
means the failure is correct, we do have an incompatible SHM based wl_buffer.
The following is an attempt to try and allocate the SHM based wl_buffer with
the following data. Though, it does not render properly in Weston. I have spent
quite some time to figure-out why, but could not. Here's the WIP branch:

https://gitlab.collabora.com/nicolas/gst-plugins-bad/commits/wayland-pool-fix

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