summaryrefslogtreecommitdiff
path: root/xine_osd_command.h
diff options
context:
space:
mode:
Diffstat (limited to 'xine_osd_command.h')
-rw-r--r--xine_osd_command.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/xine_osd_command.h b/xine_osd_command.h
index a11982e7..af05aecb 100644
--- a/xine_osd_command.h
+++ b/xine_osd_command.h
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_osd_command.h,v 1.6 2008-02-05 00:59:07 phintuka Exp $
+ * $Id: xine_osd_command.h,v 1.7 2008-02-27 00:27:48 phintuka Exp $
*
*/
@@ -33,9 +33,18 @@ typedef enum {
} osd_command_id_t;
typedef struct xine_clut_s {
- uint8_t cb /*: 8*/;
- uint8_t cr /*: 8*/;
- uint8_t y /*: 8*/;
+ union {
+ uint8_t cb /*: 8*/;
+ uint8_t g;
+ };
+ union {
+ uint8_t cr /*: 8*/;
+ uint8_t b;
+ };
+ union {
+ uint8_t y /*: 8*/;
+ uint8_t r;
+ };
uint8_t alpha /*: 8*/;
} PACKED xine_clut_t; /* from xine, alphablend.h */