[gst-devel] Memory release of the buffer allocated using the gst_buffer_new

Pankaj GOYAL pankaj.goyal at st.com
Wed May 4 22:25:31 CEST 2005


HI,
	I have written a custom plugin to enocde the data.I m using the gst_buffer_new call to allocate a buffer.I m passing a hardware pointer recvied from the lower layer to the data pointer of the buffer. Now I want to call my custom data free fucntion.So I used the GST_BUFFER_FREE_DATA_FUNC to change the defalut data free function.When I saw the gstreamer code I found that the buffer allocated by the gst_buffer_new call is not getting freed when the refrence count of the buffer becomes zero. Can any one please tell me when this buffer will be free even if I do not provide my custom data free function.

Regards
Pankaj
 





More information about the gstreamer-devel mailing list