diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2003-12-23 10:34:51 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2003-12-23 10:34:51 +0100 |
commit | 1d32f7c0597da0d773a8eb718a171ac6dacc73ad (patch) | |
tree | ce7403f604dbc01eae283117d1d16a9bcc1cfbc0 /ci.c | |
parent | 5433caa4104cc33d6b8788058c1098cf9d47b04a (diff) | |
download | vdr-1d32f7c0597da0d773a8eb718a171ac6dacc73ad.tar.gz vdr-1d32f7c0597da0d773a8eb718a171ac6dacc73ad.tar.bz2 |
Added 'StreamType' setting to CAM communication
Diffstat (limited to 'ci.c')
-rw-r--r-- | ci.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: ci.c 1.18 2003/12/22 15:52:31 kls Exp $ + * $Id: ci.c 1.19 2003/12/23 10:19:56 kls Exp $ */ /* XXX TODO @@ -1278,10 +1278,10 @@ cCiCaPmt::cCiCaPmt(int ProgramNumber) capmt[length++] = 0x00; // program_info_length L } -void cCiCaPmt::AddPid(int Pid) +void cCiCaPmt::AddPid(int Pid, uint8_t StreamType) { //XXX buffer overflow check??? - capmt[length++] = 0x00; //XXX stream_type (apparently doesn't matter) + capmt[length++] = StreamType; capmt[length++] = (Pid >> 8) & 0xFF; capmt[length++] = Pid & 0xFF; esInfoLengthPos = length; |