summaryrefslogtreecommitdiff
path: root/command/vdr2pkt.cpp
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2010-08-08 19:17:34 +0200
committerJochen Dolze <vdr@dolze.de>2010-08-08 19:17:34 +0200
commitade86712df523fc7c10545cfe450b59f39a71ba7 (patch)
treeaca2f66d1d8091b0d3be0921682f29432b22676b /command/vdr2pkt.cpp
parentfe701af3c1ebffea28edd89ec4fa97ea82c82cca (diff)
downloadvdr-plugin-markad-ade86712df523fc7c10545cfe450b59f39a71ba7.tar.gz
vdr-plugin-markad-ade86712df523fc7c10545cfe450b59f39a71ba7.tar.bz2
Fixed index repair for inded.vdr
Diffstat (limited to 'command/vdr2pkt.cpp')
-rw-r--r--command/vdr2pkt.cpp35
1 files changed, 0 insertions, 35 deletions
diff --git a/command/vdr2pkt.cpp b/command/vdr2pkt.cpp
deleted file mode 100644
index c7f0ffd..0000000
--- a/command/vdr2pkt.cpp
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * vdr2pkt.cpp: A program for the Video Disk Recorder
- *
- * See the README file for copyright information and how to reach the author.
- *
- */
-
-#include "vdr2pkt.h"
-
-cMarkAdVDR2Pkt::cMarkAdVDR2Pkt(const char *QueueName, int QueueSize)
-{
- queue = new cMarkAdPaketQueue(QueueName,QueueSize);
-}
-
-cMarkAdVDR2Pkt::~cMarkAdVDR2Pkt()
-{
- if (queue) delete queue;
-}
-
-void cMarkAdVDR2Pkt::Clear()
-{
- if (queue) queue->Clear();
-}
-
-void cMarkAdVDR2Pkt::Process(MarkAdPid Pid, uchar *VDRData, int VDRSize, uchar **PktData, int *PktSize)
-{
- if ((!PktData) || (!PktSize) || (!queue)) return;
- *PktData=NULL;
- *PktSize=0;
- if (!Pid.Type) return;
-
- if (VDRData) queue->Put(VDRData,VDRSize);
- *PktData=queue->GetPacket(PktSize,MA_PACKET_PKT);
- return;
-}