1 /*****************************************************************************
2 * dummy.c : dummy plugin for vlc
3 *****************************************************************************
4 * Copyright (C) 2000, 2001 VideoLAN
5 * $Id: dummy.c,v 1.19 2002/05/20 19:02:22 sam Exp $
7 * Authors: Samuel Hocevar <sam@zoy.org>
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.
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.
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., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
22 *****************************************************************************/
24 /*****************************************************************************
26 *****************************************************************************/
27 #include <stdlib.h> /* malloc(), free() */
30 #include <videolan/vlc.h>
32 /*****************************************************************************
33 * Capabilities defined in the other files.
34 *****************************************************************************/
35 void _M( access_getfunctions ) ( function_list_t * p_function_list );
36 void _M( demux_getfunctions ) ( function_list_t * p_function_list );
37 void _M( aout_getfunctions ) ( function_list_t * p_function_list );
38 void _M( vout_getfunctions ) ( function_list_t * p_function_list );
39 void _M( intf_getfunctions ) ( function_list_t * p_function_list );
41 /*****************************************************************************
42 * Build configuration tree.
43 *****************************************************************************/
44 #define CHROMA_TEXT N_("dummy image chroma format")
45 #define CHROMA_LONGTEXT N_( \
46 "Force the dummy video output to create images using a specific chroma " \
47 "format instead of trying to improve performances by using the most " \
51 ADD_STRING ( "dummy-chroma", NULL, NULL, CHROMA_TEXT, CHROMA_LONGTEXT )
56 SET_DESCRIPTION( _("dummy functions module") )
57 /* Capability score set to 0 because we don't want to be spawned
58 * unless explicitly requested to */
59 ADD_CAPABILITY( AOUT, 0 )
60 ADD_CAPABILITY( VOUT, 0 )
61 ADD_CAPABILITY( INTF, 0 )
62 ADD_CAPABILITY( ACCESS, 0 )
63 ADD_CAPABILITY( DEMUX, 0 )
64 ADD_SHORTCUT( "dummy" )
70 _M( access_getfunctions )( &p_module->p_functions->access );
71 _M( demux_getfunctions )( &p_module->p_functions->demux );
72 _M( aout_getfunctions )( &p_module->p_functions->aout );
73 _M( vout_getfunctions )( &p_module->p_functions->vout );
74 _M( intf_getfunctions )( &p_module->p_functions->intf );
78 MODULE_DEACTIVATE_START
79 MODULE_DEACTIVATE_STOP