summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2010-04-10 12:17:34 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2010-04-10 12:17:34 +0200
commit123bd2fec09d27f90e9bc67c9c41653e2fe664d2 (patch)
treee568046be6465434a1d0cff5f5a7e5da17f9204c
parentf1ded40a5524518ee1536fbca39db1d95dea526c (diff)
downloadvdr-123bd2fec09d27f90e9bc67c9c41653e2fe664d2.tar.gz
vdr-123bd2fec09d27f90e9bc67c9c41653e2fe664d2.tar.bz2
Added check for FE_CAN_PSK_8
-rw-r--r--HISTORY6
-rw-r--r--dvbdevice.c7
2 files changed, 10 insertions, 3 deletions
diff --git a/HISTORY b/HISTORY
index 74ab6484..ce1d619d 100644
--- a/HISTORY
+++ b/HISTORY
@@ -6411,7 +6411,7 @@ Video Disk Recorder Revision History
- The new setup option "Folders in timer menu" controls whether the file names in
the timer menu are shown with their full folder path.
-2010-04-05: Version 1.7.15
+2010-04-10: Version 1.7.15
- Added Macedonian language texts (thanks to Dimitar Petrovski).
- Updated the Estonian OSD texts (thanks to Arthur Konovalov).
@@ -6422,6 +6422,10 @@ Video Disk Recorder Revision History
- Updated the Italian OSD texts (thanks to Diego Pierotto).
- cDvbDevice::ProvidesTransponder() now checks the modulation capabilities of the
device (as far as the driver allows this).
+ If you have a device that provides PSK_8 modulation you may want to apply the
+ patch from ftp://ftp.tvdr.de/vdr/Developer/v4l-dvb-add-FE_CAN_PSK_8.diff to your
+ driver source. Otherwise VDR won't be able to detect whether a device is capable
+ of handling PSK_8.
- Fixed cFrameDetector::Analyze() in case part of the data has been processed and
there is less than MIN_TS_PACKETS_FOR_FRAME_DETECTOR left (reported by Derek Kelly).
- Added a note about not deleting cDeviceHook objects to device.h.
diff --git a/dvbdevice.c b/dvbdevice.c
index e874a482..6f9e501f 100644
--- a/dvbdevice.c
+++ b/dvbdevice.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbdevice.c 2.34 2010/04/05 20:13:05 kls Exp $
+ * $Id: dvbdevice.c 2.35 2010/04/10 10:36:27 kls Exp $
*/
#include "dvbdevice.h"
@@ -21,6 +21,8 @@
#include "menuitems.h"
#include "sourceparams.h"
+#define FE_CAN_PSK_8 0x8000000 // TODO: remove this once it is defined in the driver
+
#define DVBS_TUNE_TIMEOUT 9000 //ms
#define DVBS_LOCK_TIMEOUT 2000 //ms
#define DVBC_TUNE_TIMEOUT 9000 //ms
@@ -896,7 +898,8 @@ bool cDvbDevice::ProvidesTransponder(const cChannel *Channel) const
dtp.Modulation() == QAM_256 && !(frontendInfo.caps & FE_CAN_QAM_256) ||
dtp.Modulation() == QAM_AUTO && !(frontendInfo.caps & FE_CAN_QAM_AUTO) ||
dtp.Modulation() == VSB_8 && !(frontendInfo.caps & FE_CAN_8VSB) ||
- dtp.Modulation() == VSB_16 && !(frontendInfo.caps & FE_CAN_16VSB))
+ dtp.Modulation() == VSB_16 && !(frontendInfo.caps & FE_CAN_16VSB) ||
+ dtp.Modulation() == PSK_8 && !(frontendInfo.caps & FE_CAN_PSK_8))
return false; // requires modulation system which frontend doesn't provide
if (!cSource::IsSat(Channel->Source()) ||
!Setup.DiSEqC || Diseqcs.Get(CardIndex() + 1, Channel->Source(), Channel->Frequency(), dtp.Polarization()))