GST_BUFFER_DATA in gstreamer1.0

Sebastian Dröge slomo at circular-chaos.org
Thu Aug 22 03:56:42 PDT 2013


On Do, 2013-08-22 at 16:08 +0530, jyoti kulkarni wrote:
> Hello All,
> 
> 
> What is the replacement for GST_BUFFER_DATA in gstreamer1.0. I am
> using appsink in my application and i need to refer the buffer data
> pointer when ever a new buffer is arrived. 

gst_buffer_map(buf, &info), then use info.data, and
gst_buffer_unmap(buf, &info) when you're done.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130822/2fe3d3cf/attachment.pgp>


More information about the gstreamer-devel mailing list