]> git.sesse.net Git - vlc/blob - modules/misc/dummy/renderer.c
* modules/misc/dummy/renderer.c:
[vlc] / modules / misc / dummy / renderer.c
1 /*****************************************************************************
2  * renderer.c : dummy text rendering functions
3  *****************************************************************************
4  * Copyright (C) 2000, 2001 VideoLAN
5  * $Id: renderer.c,v 1.2 2003/12/04 16:49:43 sam Exp $
6  *
7  * Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
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., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
22  *****************************************************************************/
23
24 #include <vlc/vlc.h>
25 #include <vlc/vout.h>
26
27 static int  AddText   ( vout_thread_t *, byte_t *, text_style_t *, int,
28                         int, int, mtime_t, mtime_t );
29
30 int E_(OpenRenderer)( vlc_object_t *p_this )
31 {
32     vout_thread_t *p_vout = (vout_thread_t *)p_this;
33     p_vout->pf_add_string = AddText;
34     return VLC_SUCCESS;
35 }
36
37 static int  AddText   ( vout_thread_t *p_vout, byte_t *psz_string,
38                         text_style_t *p_style , int i_flags, int i_x_margin,
39                         int i_y_margin, mtime_t i_start, mtime_t i_stop )
40 {
41     return VLC_SUCCESS;
42 }
43