]> git.sesse.net Git - vlc/blob - modules/misc/dummy/renderer.c
Remove E_()
[vlc] / modules / misc / dummy / renderer.c
1 /*****************************************************************************
2  * renderer.c : dummy text rendering functions
3  *****************************************************************************
4  * Copyright (C) 2000, 2001 the VideoLAN team
5  * $Id$
6  *
7  * Authors: Sigmund Augdal Helberg <dnumgis@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 #ifdef HAVE_CONFIG_H
25 # include "config.h"
26 #endif
27
28 #include <vlc/vlc.h>
29 #include <vlc_vout.h>
30 #include <vlc_block.h>
31 #include <vlc_filter.h>
32
33 #include "dummy.h"
34
35 static int RenderText( filter_t *, subpicture_region_t *,
36                        subpicture_region_t * );
37
38 int OpenRenderer( vlc_object_t *p_this )
39 {
40     filter_t *p_filter = (filter_t *)p_this;
41     p_filter->pf_render_text = RenderText;
42     p_filter->pf_render_html = NULL;
43     return VLC_SUCCESS;
44 }
45
46 static int RenderText( filter_t *p_filter, subpicture_region_t *p_region_out,
47                        subpicture_region_t *p_region_in )
48 {
49     VLC_UNUSED(p_filter); VLC_UNUSED(p_region_out); VLC_UNUSED(p_region_in);
50     return VLC_EGENERIC;
51 }