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
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel