mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Returning 0 from cDvbSdFfDevice::NumProvidedSystems() if option --outputonly is given
This commit is contained in:
parent
01c26a5c6c
commit
79dad980cf
3
HISTORY
3
HISTORY
@ -7534,7 +7534,7 @@ Video Disk Recorder Revision History
|
|||||||
- Reduced the number of retries in cTransfer::Receive() to avoid blocking recordings
|
- Reduced the number of retries in cTransfer::Receive() to avoid blocking recordings
|
||||||
in case the primary device can't handle the current live signal.
|
in case the primary device can't handle the current live signal.
|
||||||
|
|
||||||
2013-01-24: Version 1.7.37
|
2013-01-25: Version 1.7.37
|
||||||
|
|
||||||
- Now also using FindHeader() in cMpeg2Fixer::AdjTref() (pointed out by Sören Moch).
|
- Now also using FindHeader() in cMpeg2Fixer::AdjTref() (pointed out by Sören Moch).
|
||||||
- Added missing template for DVBDIR to Make.config.template (reported by Derek Kelly).
|
- Added missing template for DVBDIR to Make.config.template (reported by Derek Kelly).
|
||||||
@ -7545,3 +7545,4 @@ Video Disk Recorder Revision History
|
|||||||
which resulted in empty lines between scaled subtitles.
|
which resulted in empty lines between scaled subtitles.
|
||||||
- Fixed a leftover line in case a two line subtitle was followed by a one line
|
- Fixed a leftover line in case a two line subtitle was followed by a one line
|
||||||
subtitle on the dvbhddevice in "high level" OSD mode.
|
subtitle on the dvbhddevice in "high level" OSD mode.
|
||||||
|
- Returning 0 from cDvbSdFfDevice::NumProvidedSystems() if option --outputonly is given.
|
||||||
|
@ -37,3 +37,7 @@ VDR Plugin 'dvbsddevice' Revision History
|
|||||||
2013-01-12: Version 0.0.8
|
2013-01-12: Version 0.0.8
|
||||||
|
|
||||||
- Adapted Makefile to changes introduced in recent VDR versions.
|
- Adapted Makefile to changes introduced in recent VDR versions.
|
||||||
|
|
||||||
|
2013-01-25: Version 0.0.9
|
||||||
|
|
||||||
|
- Returning 0 from cDvbSdFfDevice::NumProvidedSystems() if option --outputonly is given.
|
||||||
|
@ -3,14 +3,14 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: dvbsddevice.c 1.8 2013/01/12 14:12:07 kls Exp $
|
* $Id: dvbsddevice.c 1.9 2013/01/25 10:48:50 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
#include <vdr/plugin.h>
|
#include <vdr/plugin.h>
|
||||||
#include "dvbsdffdevice.h"
|
#include "dvbsdffdevice.h"
|
||||||
|
|
||||||
static const char *VERSION = "0.0.8";
|
static const char *VERSION = "0.0.9";
|
||||||
static const char *DESCRIPTION = "SD Full Featured DVB device";
|
static const char *DESCRIPTION = "SD Full Featured DVB device";
|
||||||
|
|
||||||
class cPluginDvbsddevice : public cPlugin {
|
class cPluginDvbsddevice : public cPlugin {
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: dvbsdffdevice.c 2.33 2012/03/11 13:32:42 kls Exp $
|
* $Id: dvbsdffdevice.c 2.34 2013/01/25 10:48:29 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dvbsdffdevice.h"
|
#include "dvbsdffdevice.h"
|
||||||
@ -362,6 +362,13 @@ bool cDvbSdFfDevice::ProvidesSource(int Source) const
|
|||||||
return cDvbDevice::ProvidesSource(Source);
|
return cDvbDevice::ProvidesSource(Source);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int cDvbSdFfDevice::NumProvidedSystems(void) const
|
||||||
|
{
|
||||||
|
if (outputOnly)
|
||||||
|
return 0;
|
||||||
|
return cDvbDevice::NumProvidedSystems();
|
||||||
|
}
|
||||||
|
|
||||||
void cDvbSdFfDevice::TurnOffLiveMode(bool LiveView)
|
void cDvbSdFfDevice::TurnOffLiveMode(bool LiveView)
|
||||||
{
|
{
|
||||||
if (LiveView) {
|
if (LiveView) {
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: dvbsdffdevice.h 2.14 2012/12/03 13:43:55 kls Exp $
|
* $Id: dvbsdffdevice.h 2.15 2013/01/25 10:43:14 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __DVBSDFFDEVICE_H
|
#ifndef __DVBSDFFDEVICE_H
|
||||||
@ -37,6 +37,7 @@ public:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
virtual bool ProvidesSource(int Source) const;
|
virtual bool ProvidesSource(int Source) const;
|
||||||
|
virtual int NumProvidedSystems(void) const;
|
||||||
private:
|
private:
|
||||||
void TurnOffLiveMode(bool LiveView);
|
void TurnOffLiveMode(bool LiveView);
|
||||||
protected:
|
protected:
|
||||||
|
Loading…
Reference in New Issue
Block a user