diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2003-05-11 09:01:51 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2003-05-11 09:01:51 +0200 |
commit | 7a0054abbd50149874823cae3f234b00fd87ca70 (patch) | |
tree | 160768042c922b61ffc95b0e9838b4ff929666b6 /PLUGINS.html | |
parent | 823945204cbf8e70c36ceab03ed6be37e5345338 (diff) | |
download | vdr-7a0054abbd50149874823cae3f234b00fd87ca70.tar.gz vdr-7a0054abbd50149874823cae3f234b00fd87ca70.tar.bz2 |
Implemented cDevice::ActualDevice()
Diffstat (limited to 'PLUGINS.html')
-rw-r--r-- | PLUGINS.html | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/PLUGINS.html b/PLUGINS.html index 4a2571c6..bd1a0d0f 100644 --- a/PLUGINS.html +++ b/PLUGINS.html @@ -1200,9 +1200,16 @@ a <tt>cDevice</tt>: <p><table><tr><td bgcolor=#F0F0F0><pre><br> cMyReceiver *Receiver = new cMyReceiver(123); -cDevice::PrimaryDevice()->AttachReceiver(Receiver); +<!--X1.1.31--><table width=100%><tr><td bgcolor=#FF0000> </td><td width=100%> +cDevice::ActualDevice()->AttachReceiver(Receiver); +<!--X1.1.31--></td></tr></table> </pre></td></tr></table><p> +Noteh the use of <tt>cDevice::ActualDevice()</tt> here, which makes sure that +the receiver is attached to the device that actually receives the current live +video stream (this may be different from the primary device in case of <i>Transfer +Mode</i>). +<p> If the <tt>cReceiver</tt> isn't needed any more, it may simply be <i>deleted</i> and will automatically detach itself from the <tt>cDevice</tt>. |