]> git.sesse.net Git - vlc/blob - modules/packetizer/avparser.h
dabbd7afbad81fa61049b0a8a4be57809b5f599c
[vlc] / modules / packetizer / avparser.h
1 /*****************************************************************************
2  * avparser.h
3  *****************************************************************************
4  * Copyright (C) 2015 VLC authors and VideoLAN
5  * $Id$
6  *
7  * Authors: Denis Charmet <typx@videolan.org>
8  *
9  * This program is free software; you can redistribute it and/or modify it
10  * under the terms of the GNU Lesser General Public License as published by
11  * the Free Software Foundation; either version 2.1 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU Lesser General Public License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public License
20  * along with this program; if not, write to the Free Software Foundation,
21  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22  *****************************************************************************/
23
24 /*****************************************************************************
25  * Preamble
26  *****************************************************************************/
27
28 #ifdef HAVE_CONFIG_H
29 # include "config.h"
30 #endif
31
32 #include <vlc_common.h>
33 #include <vlc_plugin.h>
34 #include <vlc_codec.h>
35 #include <vlc_block.h>
36
37 #include "../codec/avcodec/avcodec.h"
38 #include "../codec/avcodec/avcommon.h"
39
40 /*****************************************************************************
41  * Module descriptor
42  *****************************************************************************/
43 int  OpenPacketizer ( vlc_object_t * );
44 void ClosePacketizer( vlc_object_t * );
45
46 #define AVPARSER_MODULE \
47     set_category( CAT_SOUT )                            \
48     set_subcategory( SUBCAT_SOUT_PACKETIZER )           \
49     set_description( N_("avparser packetizer") )        \
50     set_capability( "packetizer", 1 )                   \
51     set_callbacks( OpenPacketizer, ClosePacketizer )