[Bug 746150] New: multisocketsink: Map `GstMemory`s individually when sending
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Mar 13 05:51:40 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=746150
Bug ID: 746150
Summary: multisocketsink: Map `GstMemory`s individually when
sending
Classification: Platform
Product: GStreamer
Version: unspecified
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-base
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: gnome at williammanley.net
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 299312
--> https://bugzilla.gnome.org/attachment.cgi?id=299312&action=edit
multisocketsink: Map `GstMemory`s individually when sending
If a buffer is made up of non-contiguous `GstMemory`s `gst_buffer_map`
has to copy all the data into a new `GstMemory` which is contiguous. By
mapping all the `GstMemory`s individually and then using scatter-gather
IO we avoid this situation.
This is a preparatory step for adding support to multisocketsink for
sending file descriptors, where a GstBuffer may be made up of several
`GstMemory`s, some of which are backed by a memfd or file, but I think this
patch is valid and useful on its own.
This is a pure re-factoring and shouldn't change any behaviour.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list