summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Hanisch <dvb@flensrocker.de>2010-03-24 22:13:38 +0100
committerLars Hanisch <dvb@flensrocker.de>2010-03-24 22:13:38 +0100
commit974318720ec6bfdb7956dd2a1369e934a68a8897 (patch)
tree6354020e41665ca1b65d9aef230aac3d51ad85ec
parent0c32bb61b868f728a1c9a2278acc7511028c2ff6 (diff)
parenta9b5ddf8914c9a0187d54cfc24f8e83eb8f41d7e (diff)
downloadvdr-plugin-pvrinput-974318720ec6bfdb7956dd2a1369e934a68a8897.tar.gz
vdr-plugin-pvrinput-974318720ec6bfdb7956dd2a1369e934a68a8897.tar.bz2
Merge branch 'master' of projects.vdr-developer.org:vdr-plugin-pvrinput
-rw-r--r--device.c2
-rw-r--r--reader.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/device.c b/device.c
index 94d359a..20b4718 100644
--- a/device.c
+++ b/device.c
@@ -90,7 +90,7 @@ cPvrDevice::cPvrDevice(int DeviceNumber)
This was fixed in v4l-dvb hg in 01/2009 and will hopefully be in Kernel 2.6.30*/
SupportsSlicedVBI = true;
VBIDeviceCount++;
- log(pvrDEBUG1, "%s supports sliced VBI Capture, total number of VBI capable devices is now &d", *devName, VBIDeviceCount);
+ log(pvrDEBUG1, "%s supports sliced VBI Capture, total number of VBI capable devices is now %d", *devName, VBIDeviceCount);
}
if (video_vcap.capabilities & V4L2_CAP_VIDEO_OUTPUT_OVERLAY)
hasDecoder = true; //can only be a PVR350
diff --git a/reader.c b/reader.c
index cdd03fd..2d15a5e 100644
--- a/reader.c
+++ b/reader.c
@@ -517,7 +517,7 @@ void cPvrReadThread::Action(void)
memcpy(pmt_buffer, kPMTRadio, TS_SIZE);
crc_offset = 28;
}
- else if (cPvrDevice::VBIDeviceCount > 0) {
+ else if ((PvrSetup.SliceVBI != 0) && (cPvrDevice::VBIDeviceCount > 0)) {
memcpy(pmt_buffer, kPMTwithTeletext, TS_SIZE);
crc_offset = 40;
}