How to free appsrc?
Tim-Philipp Müller
t.i.m at zen.co.uk
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
it.
However, in general elements are freed with
gst_element_set_state(element, GST_STATE_NULL);
gst_object_unref(element);
Cheers
-Tim
More information about the gstreamer-devel
mailing list