rtpbuffer: Add function to transform a GstBuffer into a GstBufferList
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>
Mon, 23 Aug 2010 18:24:21 +0000 (14:24 -0400)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 5 Oct 2010 14:19:14 +0000 (16:19 +0200)
commit7536d96d7c0fcc5a56e8d99c53a3ff5ee05a91dd
treec48087eeb7029b89cc1525c40162d9b2b9301c1f
parentf6b7ea3d39dc3bb2d2920f5f50c02eb9e19b2f0f
rtpbuffer: Add function to transform a GstBuffer into a GstBufferList

Add a new function called gst_rtp_buffer_list_from_buffer() that takes
a GstBuffer containing a RTP packets and spits out a GstBufferList
containing two buffers, one with the header and the other with the payload.
docs/libs/gst-plugins-base-libs-sections.txt
gst-libs/gst/rtp/gstrtpbuffer.c
gst-libs/gst/rtp/gstrtpbuffer.h