diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-02-06 09:58:08 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-02-06 09:58:08 +0100 |
commit | fcbfc8e988989e507f894d531872290a0c425124 (patch) | |
tree | ad431abc0633f8bd91fae372e79f7f5286177094 /dvbspu.c | |
parent | c4292b81b8f85b8024aea1ce4ce0bb6bc3a83c52 (diff) | |
download | vdr-fcbfc8e988989e507f894d531872290a0c425124.tar.gz vdr-fcbfc8e988989e507f894d531872290a0c425124.tar.bz2 |
Added CMD_SPU_CHG_COLCON to cDvbSpuDecoder::setTime()
Diffstat (limited to 'dvbspu.c')
-rw-r--r-- | dvbspu.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -8,7 +8,7 @@ * * parts of this file are derived from the OMS program. * - * $Id: dvbspu.c 1.11 2005/01/08 09:57:03 kls Exp $ + * $Id: dvbspu.c 1.12 2005/02/06 09:54:51 kls Exp $ */ #include <assert.h> @@ -216,6 +216,7 @@ void cDvbSpuBitmap::putFieldData(int field, uint8_t * data, uint8_t * endp) #define CMD_SPU_SET_ALPHA 0x04 #define CMD_SPU_SET_SIZE 0x05 #define CMD_SPU_SET_PXD_OFFSET 0x06 +#define CMD_SPU_CHG_COLCON 0x07 #define CMD_SPU_EOF 0xff #define spuU32(i) ((spu[i] << 8) + spu[i+1]) @@ -509,6 +510,12 @@ int cDvbSpuDecoder::setTime(uint32_t pts) i += 5; break; + case CMD_SPU_CHG_COLCON: { + int size = spuU32(i + 1); + i += 1 + size; + } + break; + case CMD_SPU_MENU: DEBUG("\tspu menu\n"); state = spMENU; |