summaryrefslogtreecommitdiff
path: root/server/livefilter.c
diff options
context:
space:
mode:
authorschmirl <schmirl>2009-02-13 13:02:33 +0000
committerschmirl <schmirl>2009-02-13 13:02:33 +0000
commit421a0e113a7970f24420bfb62ca90db52400535f (patch)
tree73e56f206697a50efd0cf6a220c2901f7ab6d62b /server/livefilter.c
parent3bd1dc556f6af7914615eb588c7b65df86a7a05f (diff)
downloadvdr-plugin-streamdev-421a0e113a7970f24420bfb62ca90db52400535f.tar.gz
vdr-plugin-streamdev-421a0e113a7970f24420bfb62ca90db52400535f.tar.bz2
added comments to indicate that the VTP filter stream is proprietary forma
Modified Files: Tag: v0_4 client/filter.c server/livefilter.c
Diffstat (limited to 'server/livefilter.c')
-rw-r--r--server/livefilter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/livefilter.c b/server/livefilter.c
index 68d1160..8a52ad8 100644
--- a/server/livefilter.c
+++ b/server/livefilter.c
@@ -1,5 +1,5 @@
/*
- * $Id: livefilter.c,v 1.5.2.1 2009/02/13 10:39:42 schmirl Exp $
+ * $Id: livefilter.c,v 1.5.2.2 2009/02/13 13:02:34 schmirl Exp $
*/
#include "server/livefilter.h"
@@ -26,6 +26,7 @@ void cStreamdevLiveFilter::Process(u_short Pid, u_char Tid, const u_char *Data,
buffer[1] = ((Pid >> 8) & 0x3f) | (pos==0 ? 0x40 : 0); /* bit 6: payload unit start indicator (PUSI) */
buffer[2] = Pid & 0xff;
buffer[3] = Tid;
+ // this makes it a proprietary stream
buffer[4] = (uchar)chunk;
memcpy(buffer + 5, Data + pos, chunk);
length -= chunk;