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

Stefan Kost ensonic at hora-obscura.de
Mon Dec 10 07:50:00 CET 2007


Hi

Quoting Sharath Mudalamane <sharath_m at mindtree.com>:
>
> 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.

gstreamer elements are normal gobjects, so please refer to the gobject  
documentions (there is a tutorial part of the api docs) and read about  
dispose() and finalize().

Stefan

>
> 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