EOS identification

Víctor M. Jáquez L. vjaquez at igalia.com
Fri Nov 25 03:02:41 PST 2011


On Tue, Nov 22, 2011 at 07:57:39PM -0800, chandu wrote:
> Hi,
> 
> I hava a doubt in identifying EOS.
> 
> I have allocated memory(for internal usage and adaptor buffer) for my dummy
> plugin in one of the init function. I wanted to free the memory after
> processing the complete stream. iam using push based scheduling to transfer
> the data. for this i have written an event handler function on sink pad. but
> this function is not called. how can i identify EOS event and free the
> memory allocated.

The events handler should do it

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/pwg/html/chapter-advanced-events.html

Remember to use gst_pad_set_event_function () for assign the function.

vmjl


More information about the gstreamer-devel mailing list