From 76282db1beef05768af13bd3c2b8f503f03b8df6 Mon Sep 17 00:00:00 2001 From: Lars Hanisch Date: Wed, 24 Mar 2010 23:18:40 +0100 Subject: Correct small typo --- device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3 From a9b5ddf8914c9a0187d54cfc24f8e83eb8f41d7e Mon Sep 17 00:00:00 2001 From: Lars Hanisch Date: Wed, 24 Mar 2010 23:18:56 +0100 Subject: Only send teletext-PMT if the user enabled sliced vbi --- reader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3