avio.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * avio.h: access using libavformat library
00003  *****************************************************************************
00004  * Copyright (C) 2009 Laurent Aimar
00005  * $Id: 7e956d065a79453c59f88653152fdaf45ecc62c2 $
00006  *
00007  * Authors: Laurent Aimar <fenrir _AT_ videolan _DOT_ org>
00008  *
00009  * This program is free software; you can redistribute it and/or modify
00010  * it under the terms of the GNU General Public License as published by
00011  * the Free Software Foundation; either version 2 of the License, or
00012  * (at your option) any later version.
00013  *
00014  * This program is distributed in the hope that it will be useful,
00015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  * GNU General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU General Public License
00020  * along with this program; if not, write to the Free Software
00021  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
00022  *****************************************************************************/
00023 
00024 /* ffmpeg header */
00025 #if defined(HAVE_LIBAVFORMAT_AVFORMAT_H)
00026 #   include <libavformat/avformat.h>
00027 #elif defined(HAVE_FFMPEG_AVFORMAT_H)
00028 #   include <ffmpeg/avformat.h>
00029 #endif
00030 int  OpenAvio (vlc_object_t *);
00031 void CloseAvio(vlc_object_t *);
00032 
00033 #define AVIO_MODULE \
00034     set_shortname(N_("Avio"))               \
00035     set_description(N_("FFmpeg access") )   \
00036     set_category(CAT_INPUT)                 \
00037     set_subcategory(SUBCAT_INPUT_ACCESS)    \
00038     set_capability("access", -1)            \
00039     add_shortcut("avio")                    \
00040     add_shortcut("rtmp")                    \
00041     set_callbacks(OpenAvio, CloseAvio)
00042 

Generated on Tue May 25 08:04:52 2010 for VLC by  doxygen 1.5.6