buffers to unref in finalize function

Stefan Sauer ensonic at hora-obscura.de
Mon Nov 28 06:39:53 PST 2011

On 11/28/2011 05:39 AM, chandu wrote:
> Hi,
> what are the buffers that i can free up using finalize function. can i free
> the pads that i have created and added to the element in init() function. If
> not who will take care of freeing those pads.
> I have dummy finalize function implementation. i have assigned the finalize
> function pointer to GObjectClass in init() function. this function is never
> called at runtime. Am i missing anything here.

Are you writing an own element. If you can provide a link to the code
your question might become clearer. You don't need to release buffers,
pads or even pad-templates in your finalize function.

> Thank you,
> Chandrakala
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/buffers-to-unref-in-finalize-function-tp4114177p4114177.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

More information about the gstreamer-devel mailing list