[vlc-devel] Re: How can add a new codec module to VLC?

Gildas Bazin gbazin at altern.org
Thu May 20 08:47:04 CEST 2004


On Thursday 20 May 2004 07:20, Ye, Xiaolu wrote:
> I'm already add: 
> 
> vlc_module_begin(); 
> set_description( _("Sigma decoder (using sigma library)") ); 
> set_capability( "decoder", 120 ); 
> set_callbacks( OpenDecoder, CloseDecoder ); 
> add_shortcut( "sigma" ); 
> vlc_module_end(); 
> 
> Anything else need to do? How can I compile this module?
> 
>  

Have a look at modules/codec/tarkin.c for an example of a simple video 
decoder.

As for adding a module to the build system, have a look at the HACKING file.

Last advice, beware that VLC is released under the GPL license so you might 
have problems with linking to a proprietary library.

--
Gildas

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list