mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Added CMD_SPU_CHG_COLCON to cDvbSpuDecoder::setTime()
This commit is contained in:
parent
c4292b81b8
commit
fcbfc8e988
@ -1125,6 +1125,7 @@ Marco Schl
|
|||||||
for a patch that implements substream handling into cDevice::PlayPesPacket()
|
for a patch that implements substream handling into cDevice::PlayPesPacket()
|
||||||
for pointing out that PlayPes(NULL, 0) needs to be called in cTransfer::Action()
|
for pointing out that PlayPes(NULL, 0) needs to be called in cTransfer::Action()
|
||||||
when clearing the transfer buffer to avoid overflows
|
when clearing the transfer buffer to avoid overflows
|
||||||
|
for adding CMD_SPU_CHG_COLCON to cDvbSpuDecoder::setTime()
|
||||||
|
|
||||||
Jürgen Schmitz <j.schmitz@web.de>
|
Jürgen Schmitz <j.schmitz@web.de>
|
||||||
for reporting a bug in displaying the current channel when switching via the SVDRP
|
for reporting a bug in displaying the current channel when switching via the SVDRP
|
||||||
|
3
HISTORY
3
HISTORY
@ -3333,7 +3333,7 @@ Video Disk Recorder Revision History
|
|||||||
- Added PlayPes(NULL, 0) to cTransfer::Action() when clearing the transfer buffer
|
- Added PlayPes(NULL, 0) to cTransfer::Action() when clearing the transfer buffer
|
||||||
to avoid overflows (thanks to Marco Schlüßler for pointing this out).
|
to avoid overflows (thanks to Marco Schlüßler for pointing this out).
|
||||||
|
|
||||||
2005-01-30: Version 1.3.20
|
2005-02-06: Version 1.3.20
|
||||||
|
|
||||||
- Fixed displaying the "Audio" menu with the "Green" button from the "Main" menu
|
- Fixed displaying the "Audio" menu with the "Green" button from the "Main" menu
|
||||||
in case there is only one audio track (thanks to Sascha Volkenandt for reporting
|
in case there is only one audio track (thanks to Sascha Volkenandt for reporting
|
||||||
@ -3364,3 +3364,4 @@ Video Disk Recorder Revision History
|
|||||||
(thanks to Reinhard Nissl).
|
(thanks to Reinhard Nissl).
|
||||||
- Fixed several memory leaks that were introduced through the use of cString (thanks
|
- Fixed several memory leaks that were introduced through the use of cString (thanks
|
||||||
to Stefan Huelswitt for reporting these).
|
to Stefan Huelswitt for reporting these).
|
||||||
|
- Added CMD_SPU_CHG_COLCON to cDvbSpuDecoder::setTime() (thanks to Marco Schlüßler).
|
||||||
|
9
dvbspu.c
9
dvbspu.c
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
* parts of this file are derived from the OMS program.
|
* 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>
|
#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_ALPHA 0x04
|
||||||
#define CMD_SPU_SET_SIZE 0x05
|
#define CMD_SPU_SET_SIZE 0x05
|
||||||
#define CMD_SPU_SET_PXD_OFFSET 0x06
|
#define CMD_SPU_SET_PXD_OFFSET 0x06
|
||||||
|
#define CMD_SPU_CHG_COLCON 0x07
|
||||||
#define CMD_SPU_EOF 0xff
|
#define CMD_SPU_EOF 0xff
|
||||||
|
|
||||||
#define spuU32(i) ((spu[i] << 8) + spu[i+1])
|
#define spuU32(i) ((spu[i] << 8) + spu[i+1])
|
||||||
@ -509,6 +510,12 @@ int cDvbSpuDecoder::setTime(uint32_t pts)
|
|||||||
i += 5;
|
i += 5;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case CMD_SPU_CHG_COLCON: {
|
||||||
|
int size = spuU32(i + 1);
|
||||||
|
i += 1 + size;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
case CMD_SPU_MENU:
|
case CMD_SPU_MENU:
|
||||||
DEBUG("\tspu menu\n");
|
DEBUG("\tspu menu\n");
|
||||||
state = spMENU;
|
state = spMENU;
|
||||||
|
Loading…
Reference in New Issue
Block a user