]> git.sesse.net Git - vlc/blob - modules/misc/stats/stats.c
Remove most stray semi-colons in module descriptions
[vlc] / modules / misc / stats / stats.c
1 /*****************************************************************************
2  * stats.c : stats plugin for vlc
3  *****************************************************************************
4  * Copyright (C) 2000-2008 the VideoLAN team
5  *
6  * Authors: Samuel Hocevar <sam@zoy.org>
7  *          Pierre d'Herbemont <pdherbemont@videolan.org>
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 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 General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, 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
35 #include "stats.h"
36
37 /* Example usage:
38  *  $ vlc movie.avi --sout="#transcode{aenc=dummy,venc=stats}:\
39  *                          std{access=http,mux=dummy,dst=0.0.0.0:8081}"
40  *  $ vlc -vvv http://127.0.0.1:8081 --demux=stats --vout=stats --codec=stats
41  */
42
43 /*****************************************************************************
44  * Module descriptor
45  *****************************************************************************/
46
47 vlc_module_begin ()
48     set_shortname( _("Stats"))
49     set_description( _("Stats encoder function") )
50     set_capability( "encoder", 0 )
51     add_shortcut( "stats" )
52     set_callbacks( OpenEncoder, CloseEncoder )
53     add_submodule ()
54         set_section( N_( "Stats decoder" ), NULL )
55         set_description( _("Stats decoder function") )
56         set_capability( "decoder", 0 )
57         set_callbacks( OpenDecoder, CloseDecoder )
58     add_submodule ()
59         set_section( N_( "Stats demux" ), NULL )
60         set_description( _("Stats demux function") )
61         set_capability( "demux", 0 )
62         set_callbacks( OpenDemux, CloseDemux )
63     add_submodule ()
64         set_section( N_( "Stats video output" ), NULL )
65         set_description( _("Stats video output function") )
66         set_capability( "video output", 0 )
67         set_callbacks( OpenVideo, NULL )
68 vlc_module_end ()
69