X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_codec.h;h=029cb59414dc93a0735b31d15bff2de09419edb1;hb=f48af629797c619603c93263f94b7f6d6244e22c;hp=703d6384808efe57837713f48379dccc8323d1fb;hpb=fe087a38282e93addb25fa9598393e40ea233b09;p=vlc diff --git a/include/vlc_codec.h b/include/vlc_codec.h index 703d638480..029cb59414 100644 --- a/include/vlc_codec.h +++ b/include/vlc_codec.h @@ -1,5 +1,5 @@ /***************************************************************************** - * vlc_codec.h: codec related structures + * vlc_codec.h: Definition of the decoder and encoder structures ***************************************************************************** * Copyright (C) 1999-2003 the VideoLAN team * $Id$ @@ -18,11 +18,19 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ + +#if !defined( __LIBVLC__ ) + #error You are not libvlc or one of its plugins. You cannot include this file +#endif + #ifndef _VLC_CODEC_H #define _VLC_CODEC_H 1 +#include +#include + /** * \file * This file defines the structure and types used by decoders and encoders @@ -127,11 +135,15 @@ struct encoder_t int i_tolerance; /* Bitrate tolerance */ /* Encoder config */ - sout_cfg_t *p_cfg; + config_chain_t *p_cfg; }; /** * @} */ +VLC_EXPORT( input_attachment_t *, decoder_GetInputAttachment, ( decoder_t *, const char *psz_name ) ); +VLC_EXPORT( int, decoder_GetInputAttachments, ( decoder_t *p_dec, input_attachment_t ***ppp_attachment, int *pi_attachment ) ); + + #endif /* _VLC_CODEC_H */