summaryrefslogtreecommitdiff
path: root/ci.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-12-23 10:34:51 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2003-12-23 10:34:51 +0100
commit1d32f7c0597da0d773a8eb718a171ac6dacc73ad (patch)
treece7403f604dbc01eae283117d1d16a9bcc1cfbc0 /ci.c
parent5433caa4104cc33d6b8788058c1098cf9d47b04a (diff)
downloadvdr-1d32f7c0597da0d773a8eb718a171ac6dacc73ad.tar.gz
vdr-1d32f7c0597da0d773a8eb718a171ac6dacc73ad.tar.bz2
Added 'StreamType' setting to CAM communication
Diffstat (limited to 'ci.c')
-rw-r--r--ci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ci.c b/ci.c
index 6ddd4768..d4477d55 100644
--- a/ci.c
+++ b/ci.c
@@ -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;