Memory leak issue with gst_buffer_append API when tried to merge multiple GstBuffers into one

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Memory leak issue with gst_buffer_append API when tried to merge multiple GstBuffers into one

raghava.447
Hi,

I observed memory leak with gst_buffer_append API when tried to merge multiple GstBuffers into one.
I have to merge 7 GstBuffers into One then I need to push them. For this I have used gst_buffer_append API to merge multiple buffers. I am able to merge them into one but I have been observing mempry leak when I ran top command. If I try to send those buffers individually with out merging then I did not observed any leak.

Please help me to fix this issue.

Regards,
Raghavendra Rao
Reply | Threaded
Open this post in threaded view
|

Re: Memory leak issue with gst_buffer_append API when tried to merge multiple GstBuffers into one

Tim Müller
On Mon, 2016-04-04 at 06:04 -0700, raghava.447 wrote:

Hi,

> I observed memory leak with gst_buffer_append API when tried to merge
> multiple GstBuffers into one.
> I have to merge 7 GstBuffers into One then I need to push them. For
> this I have used gst_buffer_append API to merge multiple buffers. I
> am able to merge them into one but I have been observing mempry leak
> when I ran top command. If I try to send those buffers individually
> with out merging then I did not observed any leak.
>
> Please help me to fix this issue.

It's likely an issue in your code, so it would be helpful if you shared
the relevant parts of your code.

Cheers
 -Tim

--
Tim Müller, Centricular Ltd - http://www.centricular.com


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel