Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
gst-plugins-base
gst-plugins-base
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 582
    • Issues 582
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 62
    • Merge Requests 62
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Packages
    • Packages
    • Container Registry
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GStreamer
  • gst-plugins-basegst-plugins-base
  • Issues
  • #688

Closed
Open
Opened Nov 02, 2019 by Nicolas Dufresne@ndufresne0 of 1 task completed0/1 task
  • Report abuse
  • New issue
Report abuse New issue

Could we reuse the allocation in set_format of overlay elements ?

Basically we receiver caps, and do an allocation query in order to influence the caps. Sebastien is asking if we can cache this query in order to pass this back without recursing when / if upstream makes an allocation query later. Note that this is a very tricky thing to cache, since download pipeline may have been changed meanwhile.

The following discussion from !436 (merged) should be addressed:

  • @tpm started a discussion: (+12 comments)

    Is this the right or best fix? Doesn't this bypass the element entirely when upstream does an allocation query? Wouldn't it be better if the element could look at it on the way back to see if downstream supports the meta instead of doing its on query?

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: gstreamer/gst-plugins-base#688