mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
The primary device is now only avoided for recording if it is an old SD full featured card
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
*
|
||||
* See the README file for copyright information and how to reach the author.
|
||||
*
|
||||
* $Id: dvbsdffdevice.c 2.27 2010/09/12 11:29:00 kls Exp $
|
||||
* $Id: dvbsdffdevice.c 2.28 2011/05/21 13:24:35 kls Exp $
|
||||
*/
|
||||
|
||||
#include "dvbsdffdevice.h"
|
||||
@@ -90,6 +90,11 @@ bool cDvbSdFfDevice::HasDecoder(void) const
|
||||
return true;
|
||||
}
|
||||
|
||||
bool cDvbSdFfDevice::AvoidRecording(void) const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
cSpuDecoder *cDvbSdFfDevice::GetSpuDecoder(void)
|
||||
{
|
||||
if (!spuDecoder && IsPrimaryDevice())
|
||||
|
@@ -3,7 +3,7 @@
|
||||
*
|
||||
* See the README file for copyright information and how to reach the author.
|
||||
*
|
||||
* $Id: dvbsdffdevice.h 2.11 2010/01/04 11:01:14 kls Exp $
|
||||
* $Id: dvbsdffdevice.h 2.12 2011/05/21 12:56:49 kls Exp $
|
||||
*/
|
||||
|
||||
#ifndef __DVBSDFFDEVICE_H
|
||||
@@ -23,6 +23,7 @@ public:
|
||||
cDvbSdFfDevice(int Adapter, int Frontend);
|
||||
virtual ~cDvbSdFfDevice();
|
||||
virtual bool HasDecoder(void) const;
|
||||
virtual bool AvoidRecording(void) const;
|
||||
|
||||
// SPU facilities
|
||||
|
||||
|
Reference in New Issue
Block a user