Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gst-plugins-bad gst-plugins-bad
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 989
    • Issues 989
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 132
    • Merge requests 132
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • gst-plugins-badgst-plugins-bad
  • Issues
  • #733

Closed
Open
Created Jun 11, 2018 by Bugzilla Migration User@bugzilla-migration

waylandsink: Error when trying to playback 348x240 in I420

Submitted by Nicolas Dufresne @ndufresne

Link to original bug (#796565)

Description

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

Assignee
Assign to
Time tracking