From 7751b6abb0b90a3d0961856e76c67b85aab66cf5 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 13 Jan 2007 12:14:51 +0100 Subject: Added cDevice::HasCi() so that devices with Common Interface can be avoided when tuning to an FTA channel --- dvbdevice.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'dvbdevice.c') diff --git a/dvbdevice.c b/dvbdevice.c index 70f7781a..7271b4f0 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 1.161 2007/01/07 14:09:51 kls Exp $ + * $Id: dvbdevice.c 1.162 2007/01/13 11:37:00 kls Exp $ */ #include "dvbdevice.h" @@ -509,6 +509,11 @@ cSpuDecoder *cDvbDevice::GetSpuDecoder(void) return spuDecoder; } +bool cDvbDevice::HasCi(void) +{ + return ciAdapter; +} + uchar *cDvbDevice::GrabImage(int &Size, bool Jpeg, int Quality, int SizeX, int SizeY) { if (devVideoIndex < 0) -- cgit v1.2.3