Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
gst-plugins-bad
gst-plugins-bad
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,012
    • Issues 1,012
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 199
    • Merge Requests 199
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • gst-plugins-badgst-plugins-bad
  • Issues
  • #523

Closed
Open
Opened Feb 23, 2017 by Bugzilla Migration User@bugzilla-migration

waylandsink: memory:DMABuf preferred in caps

Submitted by Fabien Dessenne

Link to original bug (#779132)

Description

Created attachment 346565
waylandsink-memory-DMABuf-preferred-while-negotiation

waylandsink supports both SystemMemory buffers and DMABufMemory buffers. Both are exposed in caps.
If we consider that DMABuf is an optimization, then it is better to have it proposed with a higher priority (=before) than SystemMemory.

Instead of:
video/x-raw, format=(string){ xxx }, ...; video/x-raw(memory:DMABuf), format=(string){ xxx }, ...
Propose:
video/x-raw(memory:DMABuf), format=(string){ xxx }, ...; video/x-raw, format=(string){ xxx }, ...

Hence, when negotiating caps with a DMABuf-compatible upstream element, DMABuf becomes the default choice.

Patch 346565, "waylandsink-memory-DMABuf-preferred-while-negotiation":
0001-waylandsink-memory-DMABuf-preferred-while-negotiatio.patch

Version: 1.11.1

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: gstreamer/gst-plugins-bad#523