[gst-devel] Howto cleanup my gstreamer filter upon exit?

TK, Pratheesh Gangadhar pratheesh at ti.com
Mon Dec 10 04:07:25 CET 2007


Sharath,

Take a look at plugin writer's guide, section 6.1 Managing filter state.

You can call the shutdown function during
GST_STATE_CHANGE_READY_TO_NULL.

Pratheesh

-----Original Message-----
From: gstreamer-devel-bounces at lists.sourceforge.net
[mailto:gstreamer-devel-bounces at lists.sourceforge.net] On Behalf Of
Sharath Mudalamane
Sent: Sunday, December 09, 2007 7:28 PM
To: gstreamer-devel at lists.sourceforge.net
Subject: [gst-devel] Howto cleanup my gstreamer filter upon exit?


To: gstreamer-devel at lists.sourceforge.net
Subject: Howto cleanup my gstreamer filter upon exit?

Hello all,


I have developed a gstreamer filter (say "wow"), which is a wrapper to a
module. I am using & making calls to this underlying module. 

I initialize the module (by calling its init() ) in gst_wow_init().
Similarly, I need call shutdown() to properly close the module before
dereferencing my wow filter.

I couldn't find a ready function to do this in my filter.

In conclusion i need a destroyer function like in C++!!

Please provide help.

Thanks and regards,
Sharath



DISCLAIMER:
This message (including attachment if any) is confidential and may be
privileged. If you have received this message by mistake please notify
the sender by return e-mail and delete this message from your system.
Any unauthorized use or dissemination of this message in whole or in
part is strictly prohibited.
E-mail may contain viruses. Before opening attachments please check them
for viruses and defects. While MindTree Consulting Limited (MindTree)
has put in place checks to minimize the risks, MindTree will not be
responsible for any viruses or defects or any forwarded attachments
emanating either from within MindTree or outside.
Please note that e-mails are susceptible to change and MindTree shall
not be liable for any improper, untimely or incomplete transmission.
MindTree reserves the right to monitor and review the content of all
messages sent to or from MindTree e-mail address. Messages sent to or
from this e-mail address may be stored on the MindTree e-mail system or
else where.

------------------------------------------------------------------------
-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




More information about the gstreamer-devel mailing list