[Bug 723850] Elements in rtpbin don't set PROXY_ALLOCATION flag

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Feb 18 07:29:47 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=723850
  GStreamer | gst-plugins-good | 1.2.2

--- Comment #6 from Wim Taymans <wim.taymans at gmail.com> 2014-02-18 15:50:04 UTC ---
The main problem is that the pipeline goes through a couple of format
transformations that likely require different pools. 

For example, the udpsrc needs a buffer to store RTP packets, the buffers
allocated by alsasink should contain raw samples, you are not supposed to place
the RTP header in there. Even if you place the header in those alsasink
allocated buffers, you would need to strip them off again in the depayloader
and alsasink would have to copy anyway.

You could do something clever where you reuse alsasink buffer memory only for
the payload of the rtp packet. This is not easy because udpsrc then needs to
know the RTP header size before reading the packet (it can be done by peeking
the packet first but that's not implemented).

The real question is, why do you want to make alsasink propose a bufferpool? it
only makes sense if you want to avoid a memcpy and can write directly into alsa
mmaped memory (which alsasink doesn't implement).

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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