summaryrefslogtreecommitdiff
path: root/ttxtsubsrecorder.c
diff options
context:
space:
mode:
authorTobias Grimm <tobias@e-tobi.loc>2008-12-13 10:52:59 +0100
committerTobias Grimm <tobias@e-tobi.loc>2008-12-13 10:52:59 +0100
commit18dbe92306e0c9e1b1513e4cfae603369fbacd80 (patch)
tree6fcb7e78ac8cb5026fab56cfbe3d4ead31fcad9d /ttxtsubsrecorder.c
parentb4047ea57428a788456ecb02bc3fc6c5d83bf232 (diff)
downloadvdr-plugin-ttxtsubs-0.0.3d.tar.gz
vdr-plugin-ttxtsubs-0.0.3d.tar.bz2
- IMORTANT! Needs and upgrade to the patch! See README!v0.0.3d
- 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)
Diffstat (limited to 'ttxtsubsrecorder.c')
-rw-r--r--ttxtsubsrecorder.c2
1 files changed, 1 insertions, 1 deletions
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);