mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed description of DeviceSetAvailableTrack() and cReceiver(), and added an example ~cMyReceiver() in PLUGINS.html
This commit is contained in:
parent
ecc90d55bb
commit
913d4657c7
@ -1426,6 +1426,8 @@ Marco Schl
|
|||||||
for fixing checking for ttDolbyLast in cDevice::SetCurrentAudioTrack()
|
for fixing checking for ttDolbyLast in cDevice::SetCurrentAudioTrack()
|
||||||
for fixing selecting the audio track when pressing Ok in the Audio menu
|
for fixing selecting the audio track when pressing Ok in the Audio menu
|
||||||
for implementing handling DVB subtitles
|
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>
|
Jürgen Schmitz <j.schmitz@web.de>
|
||||||
for reporting a bug in displaying the current channel when switching via the SVDRP
|
for reporting a bug in displaying the current channel when switching via the SVDRP
|
||||||
|
2
HISTORY
2
HISTORY
@ -5467,3 +5467,5 @@ Video Disk Recorder Revision History
|
|||||||
- Implemented sending all frames to devices that can handle them in fast forward
|
- Implemented sending all frames to devices that can handle them in fast forward
|
||||||
trick speeds (thansk to Timo Eskola).
|
trick speeds (thansk to Timo Eskola).
|
||||||
- Updated the Hungarian language texts (thanks to Thomas Günther).
|
- 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).
|
||||||
|
16
PLUGINS.html
16
PLUGINS.html
@ -1328,7 +1328,9 @@ A player that has special requirements about audio tracks should announce its
|
|||||||
available audio tracks by calling
|
available audio tracks by calling
|
||||||
|
|
||||||
<p><table><tr><td bgcolor=#F0F0F0><pre>
|
<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> </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>
|
</pre></td></tr></table><p>
|
||||||
|
|
||||||
See <tt>device.h</tt> for details about the parameters for track handling.
|
See <tt>device.h</tt> for details about the parameters for track handling.
|
||||||
@ -1454,10 +1456,20 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
cMyReceiver::cMyReceiver(int Pid)
|
cMyReceiver::cMyReceiver(int Pid)
|
||||||
:cReceiver(0, -1, Pid)
|
<!--X1.5.10--><table width=100%><tr><td bgcolor=#FF0000> </td><td width=100%>
|
||||||
|
:cReceiver(tChannelID(), -1, Pid)
|
||||||
|
<!--X1.5.10--></td></tr></table>
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
<!--X1.5.10--><table width=100%><tr><td bgcolor=#FF0000> </td><td width=100%><pre>
|
||||||
|
cMyReceiver::~cMyReceiver()
|
||||||
|
{
|
||||||
|
cReceiver::Detach();
|
||||||
|
...
|
||||||
|
}
|
||||||
|
<!--X1.5.10--></pre></td></tr></table>
|
||||||
|
|
||||||
void cMyReceiver::Activate(bool On)
|
void cMyReceiver::Activate(bool On)
|
||||||
{
|
{
|
||||||
// start your own thread for processing the received data
|
// start your own thread for processing the received data
|
||||||
|
Loading…
Reference in New Issue
Block a user