From b4cecb13ef4fa7389a96f721e57da2cf68cb65e4 Mon Sep 17 00:00:00 2001 From: scop Date: Sat, 16 Apr 2005 13:50:37 +0000 Subject: Sync SPU decoder with VDR 1.3.23. --- HISTORY | 1 + dxr3spudecoder.c | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/HISTORY b/HISTORY index c591676..c5ebf05 100644 --- a/HISTORY +++ b/HISTORY @@ -285,3 +285,4 @@ NOTE: I havent found time to include all of the languages, will be done in pre2 - fix sound with the MP3 plugin and VDR >= 1.3.18 (Antti Järvinen) - fix aspect ratio after returning from the MPlayer plugin (Luca Olivetti) - fix color "bleeding" in OSD (Luca Olivetti) +- sync SPU decoder with VDR 1.3.23 (Ville Skyttä) diff --git a/dxr3spudecoder.c b/dxr3spudecoder.c index 8ab7c6f..cb6db5e 100644 --- a/dxr3spudecoder.c +++ b/dxr3spudecoder.c @@ -45,6 +45,7 @@ ToDo: #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]) @@ -601,6 +602,13 @@ int cDxr3SpuDecoder::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: if (cDxr3ConfigData::Instance().GetDebug()) { -- cgit v1.2.3