From 18dbe92306e0c9e1b1513e4cfae603369fbacd80 Mon Sep 17 00:00:00 2001 From: Tobias Grimm Date: Sat, 13 Dec 2008 10:52:59 +0100 Subject: - IMORTANT! Needs and upgrade to the patch! See README! - Improved the OSD hooks to be more compatible with other plugins - Added a primitive Service Information caching mechanism to speed up channel switching (will not refresh if channels are changed, will be reset on VDR restart) --- ttxtsubsrecorder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ttxtsubsrecorder.c') diff --git a/ttxtsubsrecorder.c b/ttxtsubsrecorder.c index 19c7b6f..7cfb5c0 100644 --- a/ttxtsubsrecorder.c +++ b/ttxtsubsrecorder.c @@ -32,7 +32,7 @@ cTtxtSubsRecorder::cTtxtSubsRecorder(cDevice *dev, const cChannel *ch, char *lan struct ttxtpidinfo *pi = NULL; int pid, page; - if(GetTtxtInfo(dev->CardIndex(), ch->Sid(), ch->Vpid(), mTtxtinfo)) { + if(GetTtxtInfo(dev->CardIndex(), ch->Number(), ch->Sid(), ch->Vpid(), mTtxtinfo)) { fprintf(stderr, "cTtxtSubsRecorder::cTtxtSubsRecorder: GetTtxtSubtitleInfo error!\n"); } else { pi = FindSubs(mTtxtinfo, lang, HI, &pid, &page); -- cgit v1.2.3