summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscop <scop>2005-04-16 13:50:37 +0000
committerscop <scop>2005-04-16 13:50:37 +0000
commitb4cecb13ef4fa7389a96f721e57da2cf68cb65e4 (patch)
treefc6cc5b03c61f3f827a3062ddbf65a51e977cfd0
parentd0b555c1d9494a2295ba8e5c956c9a4e7f57f1ef (diff)
downloadvdr-plugin-dxr3-b4cecb13ef4fa7389a96f721e57da2cf68cb65e4.tar.gz
vdr-plugin-dxr3-b4cecb13ef4fa7389a96f721e57da2cf68cb65e4.tar.bz2
Sync SPU decoder with VDR 1.3.23.
-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())
{