Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gstreamer gstreamer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 675
    • Issues 675
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 354
    • Merge requests 354
  • 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
  • gstreamergstreamer
  • Issues
  • #238

Closed
Open
Created May 25, 2017 by Bugzilla Migration User@bugzilla-migration

Need API to know allocated buffers from upstream

Submitted by Guillaume Desmottes @gdesmott

Link to original bug (#783085)

Description

We are working on implementing DMA support in gst-omx. When acting as a DMA importer, an element needs to know beforehand which buffers have been allocated upstream so it can call OMX_UseBuffer() on each allocated buffer it's going to use.

We currently solved this using a custom downstream event sent in gst_v4l2src_decide_allocation() but it would be good to have a proper solution for this.

We could add a "allocated-buffers" serialized downstream event which is sent when buffers are (re)allocated before starting to use them.
It would include a GPtrArray of GstBuffers.
We should probably be clear in the doc on what can and cannot be done with those buffers. Something like "Those buffers should not be modified in anyway."

Thoughts?

Assignee
Assign to
Time tracking