From 962596f4abc3790ac0f3f317079a3362210fff8f Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 6 Oct 2002 10:25:42 +0200 Subject: Modified channel handling; full DiSEqC support --- PLUGINS.html | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) (limited to 'PLUGINS.html') diff --git a/PLUGINS.html b/PLUGINS.html index 71f66abc..106bcc74 100644 --- a/PLUGINS.html +++ b/PLUGINS.html @@ -21,18 +21,18 @@ VDR program and present itself to the user. The inside interface provides the plugin code access to VDR's internal data structures and allows it to hook itself into specific areas to perform special actions.

-
  -Important modifications introduced in version 1.1.7 are marked like this. -
-
  +
  Important modifications introduced in version 1.1.8 are marked like this.
-
  +
  Important modifications introduced in version 1.1.9 are marked like this.
-
  +
  Important modifications introduced in version 1.1.11 are marked like this.
+
  +Important modifications introduced in version 1.1.12 are marked like this. +

Part I - The Outside Interface

@@ -957,7 +957,6 @@ stream. There are no prerequisites regarding the length or alignment of an individual block of data. The sum of all blocks must simply result in the desired video data stream, and it must be delivered fast enough so that the DVB device doesn't run out of data. -
  To avoid busy loops the player should call its member function


@@ -965,7 +964,6 @@ bool DevicePoll(cPoller &Poller, int TimeoutMs = 0);

to determine whether the device is ready for further data. -

TODO: PlayAudio()???

@@ -1184,14 +1182,17 @@ the cDvbDevice, which is used to access the DVB PCI cards. If the new device can receive, it most likely needs to provide a way of selecting which channel it shall tune to: -
  +
 


+
  +virtual bool ProvidesSource(int Source) const; +
virtual bool ProvidesChannel(const cChannel *Channel, int Priority = -1, bool *NeedsDetachReceivers = NULL); virtual bool SetChannelDevice(const cChannel *Channel, bool LiveView);

-These functions will be called with the desired channel and shall return whether -this device can provide the requested channel and whether tuning to it was successful, +These functions will be called with the desired source or channel and shall return whether +this device can provide the requested source or channel and whether tuning to it was successful, repectively.

@@ -1203,7 +1204,7 @@ A device that can be used for recording must implement the functions virtual bool SetPid(cPidHandle *Handle, int Type, bool On); virtual bool OpenDvr(void); virtual void CloseDvr(void); -
  +
  virtual bool GetTSPacket(uchar *&Data);

@@ -1227,7 +1228,6 @@ to indicate this to VDR.

The functions to implement replaying capabilites are -
 


virtual bool HasDecoder(void) const; virtual bool SetPlayMode(ePlayMode PlayMode); @@ -1240,7 +1240,6 @@ virtual void StillPicture(const uchar *Data, int Length); virtual bool Poll(cPoller &Poller, int TimeoutMs = 0); virtual int PlayVideo(const uchar *Data, int Length);

-

In addition, the following functions may be implemented to provide further functionality: @@ -1251,7 +1250,7 @@ virtual void SetVideoFormat(bool VideoFormat16_9); virtual void SetVolumeDevice(int Volume);

-
  +
 

On Screen Display

@@ -1292,7 +1291,7 @@ shut down (delete) all devices when the program terminates. It is therefore important that the devices are created on the heap, using the new operator! -
  +
 

Remote Control

The joy of zapping!

-- cgit v1.2.3