Skip to content
Snippets Groups Projects

memory: Deprecate GST_MEMORY_FLAG_NO_SHARE

Merged Olivier Crête requested to merge ocrete/gstreamer:deprecate-noshare into master

This flag always causes problems as it prevents subbuffering, instead one should create a custom GstAllocator to pool the GstMemory objects and not rely on the lifetime of the GstBuffer object they were originally attached to.

There is still code in the XImage src/sink elements as well as kmssink that use no-share, but we should document it so others don't use it in the future.

Originally proposed in. https://bugzilla.gnome.org/show_bug.cgi?id=757254

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading