summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CONTRIBUTORS2
-rw-r--r--HISTORY2
-rw-r--r--PLUGINS.html16
3 files changed, 18 insertions, 2 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 39cd6dd2..a80fdff3 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -1426,6 +1426,8 @@ Marco Schlüßler <marco@lordzodiac.de>
for fixing checking for ttDolbyLast in cDevice::SetCurrentAudioTrack()
for fixing selecting the audio track when pressing Ok in the Audio menu
for implementing handling DVB subtitles
+ for fixing the description of DeviceSetAvailableTrack() and cReceiver(), and adding
+ an example ~cMyReceiver() in PLUGINS.html (thanks to Marco Schlüßler).
Jürgen Schmitz <j.schmitz@web.de>
for reporting a bug in displaying the current channel when switching via the SVDRP
diff --git a/HISTORY b/HISTORY
index 9e96c653..f4342c4f 100644
--- a/HISTORY
+++ b/HISTORY
@@ -5467,3 +5467,5 @@ Video Disk Recorder Revision History
- Implemented sending all frames to devices that can handle them in fast forward
trick speeds (thansk to Timo Eskola).
- Updated the Hungarian language texts (thanks to Thomas Günther).
+- Fixed description of DeviceSetAvailableTrack() and cReceiver(), and added an
+ example ~cMyReceiver() in PLUGINS.html (thanks to Marco Schlüßler).
diff --git a/PLUGINS.html b/PLUGINS.html
index 1dff44c7..134bd8f2 100644
--- a/PLUGINS.html
+++ b/PLUGINS.html
@@ -1328,7 +1328,9 @@ A player that has special requirements about audio tracks should announce its
available audio tracks by calling
<p><table><tr><td bgcolor=#F0F0F0><pre>
-bool DeviceSetAvailableTrack(eTrackType Type, int Index, uint16_t Id, const char *Language = NULL, uint32_t Flags = 0)
+<!--X1.5.10--><table width=100%><tr><td bgcolor=#FF0000>&nbsp;</td><td width=100%>
+bool DeviceSetAvailableTrack(eTrackType Type, int Index, uint16_t Id, const char *Language = NULL, const char *Description = NULL)
+<!--X1.5.10--></td></tr></table>
</pre></td></tr></table><p>
See <tt>device.h</tt> for details about the parameters for track handling.
@@ -1454,10 +1456,20 @@ public:
};
cMyReceiver::cMyReceiver(int Pid)
-:cReceiver(0, -1, Pid)
+<!--X1.5.10--><table width=100%><tr><td bgcolor=#FF0000>&nbsp;</td><td width=100%>
+:cReceiver(tChannelID(), -1, Pid)
+<!--X1.5.10--></td></tr></table>
{
}
+<!--X1.5.10--><table width=100%><tr><td bgcolor=#FF0000>&nbsp;</td><td width=100%><pre>
+cMyReceiver::~cMyReceiver()
+{
+ cReceiver::Detach();
+ ...
+}
+<!--X1.5.10--></pre></td></tr></table>
+
void cMyReceiver::Activate(bool On)
{
// start your own thread for processing the received data