summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzwer <zwer@1f4bef6d-8e0a-0410-8695-e467da8aaccf>2006-02-21 22:52:49 +0000
committerzwer <zwer@1f4bef6d-8e0a-0410-8695-e467da8aaccf>2006-02-21 22:52:49 +0000
commit5e2ee6bf8f93e2798058e4a4b7f0a91b778207a7 (patch)
tree1eb7c33481c1d6330438806aafe11f61e9b767f5
parent0a7dbdd2643074842590509a0af3595be25f6d94 (diff)
downloadvdr-plugin-ffnetdev-5e2ee6bf8f93e2798058e4a4b7f0a91b778207a7.tar.gz
vdr-plugin-ffnetdev-5e2ee6bf8f93e2798058e4a4b7f0a91b778207a7.tar.bz2
2006-02-20: ffnetdev-0.1.0
- optimize for DBOX2-Plugin VDR-Viewer https://developer.berlios.de/projects/vdrviewer/ (tested with vdrviewer-0.1.1) - add VNC compression (RRE, Hextile) - start learning remote if accept client, no more if start plugin - added "auto change primary DVB" feature (enable/deisable in plugin settings) - fixed buffer overflow bug - fixed several other bugs - tested with vdr-1.3.43 git-svn-id: svn://svn.berlios.de/ffnetdev/trunk@10 1f4bef6d-8e0a-0410-8695-e467da8aaccf
-rw-r--r--CHANGELOG13
-rw-r--r--README31
-rw-r--r--streamdevice.c2
-rw-r--r--streamdevice.h2
4 files changed, 39 insertions, 9 deletions
diff --git a/CHANGELOG b/CHANGELOG
index c0bdf0e..2fe8914 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -24,12 +24,11 @@ Changelog
(payload unit start indicator) flag set
- reworked PES2TS remuxer code and added a mutex to synchronize input ringbuffer access
- 2006-02-19: ffnetdev-0.1.0
- - optimize for DBOX2-Plugin VDR-Viewer https://developer.berlios.de/projects/vdrviewer/
+ 2006-02-20: ffnetdev-0.1.0
+ - optimize for DBOX2-Plugin VDR-Viewer https://developer.berlios.de/projects/vdrviewer/ (tested with vdrviewer-0.1.1)
- add VNC compression (RRE, Hextile)
- start learning remote if accept client, no more if start plugin
- - added auto change primary DVB feature (enable/deisable in plugin settings)
- - fixed several bugs
-
- 2006-02-20: ffnetdev-0.1.1
- - fixed buffer overflow bug \ No newline at end of file
+ - added "auto change primary DVB" feature (enable/deisable in plugin settings)
+ - fixed buffer overflow bug
+ - fixed several other bugs
+ - tested with vdr-1.3.43 \ No newline at end of file
diff --git a/README b/README
index bd5f25e..962dc7f 100644
--- a/README
+++ b/README
@@ -93,3 +93,34 @@ root@linux # cd ../..
root@linux # make plugins
root@linux # ./vdr -P ffnetdev
+
+remote.conf for DBOX2 remote
+----------------------------
+ffnetdev.Up 0000000000000067
+ffnetdev.Down 000000000000006C
+ffnetdev.Menu 000000000000008D
+ffnetdev.Ok 0000000000000160
+ffnetdev.Back 0000000000000066
+ffnetdev.Left 0000000000000069
+ffnetdev.Right 000000000000006A
+ffnetdev.Red 000000000000018E
+ffnetdev.Green 000000000000018F
+ffnetdev.Yellow 0000000000000190
+ffnetdev.Blue 0000000000000191
+ffnetdev.0 000000000000000B
+ffnetdev.1 0000000000000002
+ffnetdev.2 0000000000000003
+ffnetdev.3 0000000000000004
+ffnetdev.4 0000000000000005
+ffnetdev.5 0000000000000006
+ffnetdev.6 0000000000000007
+ffnetdev.7 0000000000000008
+ffnetdev.8 0000000000000009
+ffnetdev.9 000000000000000A
+ffnetdev.Power 0000000000000074
+ffnetdev.Channel+ 0000000000000073
+ffnetdev.Channel- 0000000000000072
+ffnetdev.Schedule 000000000000008A
+ffnetdev.Channels 0000000000000071
+
+
diff --git a/streamdevice.c b/streamdevice.c
index 5805043..f44385e 100644
--- a/streamdevice.c
+++ b/streamdevice.c
@@ -112,7 +112,7 @@ bool cStreamDevice::Poll(cPoller &Poller, int TimeoutMs)
}
/* ----------------------------------------------------------------------------
*/
-int cStreamDevice::PlayAudio(const uchar *Data, int Length)
+int cStreamDevice::PlayAudio(const uchar *Data, int Length, uchar Id)
{
if (cTSWorker::HaveStreamClient())
{
diff --git a/streamdevice.h b/streamdevice.h
index 64a1f0b..fb21c83 100644
--- a/streamdevice.h
+++ b/streamdevice.h
@@ -34,7 +34,7 @@ public:
virtual void StillPicture(const uchar *Data, int Length);
virtual bool Poll(cPoller &Poller, int TimeoutMs = 0);
virtual int PlayVideo(const uchar *Data, int Length);
- virtual int PlayAudio(const uchar *Data, int Length);
+ virtual int PlayAudio(const uchar *Data, int Length, uchar Id);
virtual int ProvidesCa(const cChannel *Channel) const;
virtual void MakePrimaryDevice(bool On);
uchar *Get(int &Count) { return m_Remux->Get(Count); }