summaryrefslogtreecommitdiff
path: root/src/libspucc/cc_decoder.h
diff options
context:
space:
mode:
authorChristian Vogler <cvogler@users.sourceforge.net>2002-03-31 23:14:48 +0000
committerChristian Vogler <cvogler@users.sourceforge.net>2002-03-31 23:14:48 +0000
commit5cd3cd24d98bf43115d0181f762bb62e5dd21880 (patch)
tree00ac05025615e6b7b44cfd130dde9980c9151506 /src/libspucc/cc_decoder.h
parent91db2da5281ab92bb44ac227d85c0513f645124f (diff)
downloadxine-lib-5cd3cd24d98bf43115d0181f762bb62e5dd21880.tar.gz
xine-lib-5cd3cd24d98bf43115d0181f762bb62e5dd21880.tar.bz2
add configuration option to select between different captioning color
schemes. CVS patchset: 1652 CVS date: 2002/03/31 23:14:48
Diffstat (limited to 'src/libspucc/cc_decoder.h')
-rw-r--r--src/libspucc/cc_decoder.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/libspucc/cc_decoder.h b/src/libspucc/cc_decoder.h
index c741caff7..d7c6fc697 100644
--- a/src/libspucc/cc_decoder.h
+++ b/src/libspucc/cc_decoder.h
@@ -4,7 +4,7 @@
* Copyright (C) Christian Vogler
* cvogler@gradient.cis.upenn.edu - December 2001
*
- * This file is part of xine, a unix video player.
+ * This file is part of xine, a free video player.
*
* xine is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -20,7 +20,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: cc_decoder.h,v 1.4 2002/03/11 12:31:26 guenter Exp $
+ * $Id: cc_decoder.h,v 1.5 2002/03/31 23:14:48 cvogler Exp $
*
* stuff needed to provide closed captioning decoding and display
*
@@ -32,6 +32,9 @@
typedef struct cc_decoder_s cc_decoder_t;
typedef struct cc_renderer_s cc_renderer_t;
+#define NUM_CC_PALETTES 2
+extern char *cc_schemes[NUM_CC_PALETTES + 1];
+
#define CC_FONT_MAX 256
typedef struct cc_config_s {
@@ -41,6 +44,7 @@ typedef struct cc_config_s {
char italic_font[CC_FONT_MAX]; /* italic captioning font & size */
int center; /* true if captions should be centered */
/* according to text width */
+ int cc_scheme; /* which captioning scheme to use */
/* the following variables are not controlled by configuration files; they */
/* are intrinsic to the properties of the configuration options and the */