GNOME Bugzilla – Bug 796565
waylandsink: Error when trying to playback 348x240 in I420
Last modified: 2018-11-03 14:26:20 UTC
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
Hi, Any update for this issue?
If there was any update, I would have updated this bug. Feel free to grab my branch and continue, as even after the fix it fails in Weston, it didn't become a priority. It seems this have to be tested and fixed there first. I don't have any other compositor to work with.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/733.