]> git.sesse.net Git - vlc/blob - modules/misc/dummy/renderer.c
7e5802995cf045f6698ec1c44ecd62426a2d5e1f
[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 #include <vlc/vlc.h>
25 #include <vlc_vout.h>
26 #include <vlc_block.h>
27 #include <vlc_filter.h>
28
29 #include "dummy.h"
30
31 static int RenderText( filter_t *, subpicture_region_t *,
32                        subpicture_region_t * );
33
34 int E_(OpenRenderer)( vlc_object_t *p_this )
35 {
36     filter_t *p_filter = (filter_t *)p_this;
37     p_filter->pf_render_text = RenderText;
38     return VLC_SUCCESS;
39 }
40
41 static int RenderText( filter_t *p_filter, subpicture_region_t *p_region_out,
42                        subpicture_region_t *p_region_in )
43 {
44     return VLC_EGENERIC;
45 }