How to free appsrc?

Tim-Philipp Müller t.i.m at
Mon Mar 5 02:35:04 PST 2012

On Mon, 2012-03-05 at 01:04 -0800, ms wrote:

> I wanna free *appsrc (GstAppSrc)* by myself. But i don't know how to do that.
> Please help me, thank so much!

Usually you don't need to free it yourself. Just free (unref) the
pipeline and the pipeline will free all elements that have been added to

However, in general elements are freed with

  gst_element_set_state(element, GST_STATE_NULL);


More information about the gstreamer-devel mailing list