summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY1
-rw-r--r--dxr3spudecoder.c8
2 files changed, 9 insertions, 0 deletions
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())
{