diff options
author | Tobias Grimm <tobias@e-tobi.loc> | 2008-12-13 10:51:16 +0100 |
---|---|---|
committer | Tobias Grimm <tobias@e-tobi.loc> | 2008-12-13 10:51:16 +0100 |
commit | b4047ea57428a788456ecb02bc3fc6c5d83bf232 (patch) | |
tree | f346c1181b786177c9e67469ad0cf759dfd42ddf /ttxtsubsrecorder.c | |
parent | e98281852544a159522de0e561ac64c23c447468 (diff) | |
download | vdr-plugin-ttxtsubs-0.0.3c.tar.gz vdr-plugin-ttxtsubs-0.0.3c.tar.bz2 |
- Fixed problems when used with more than one device (I hope)v0.0.3c
Diffstat (limited to 'ttxtsubsrecorder.c')
-rw-r--r-- | ttxtsubsrecorder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ttxtsubsrecorder.c b/ttxtsubsrecorder.c index b6719af..19c7b6f 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->DeviceNumber(), ch->Sid(), ch->Vpid(), mTtxtinfo)) { + if(GetTtxtInfo(dev->CardIndex(), ch->Sid(), ch->Vpid(), mTtxtinfo)) { fprintf(stderr, "cTtxtSubsRecorder::cTtxtSubsRecorder: GetTtxtSubtitleInfo error!\n"); } else { pi = FindSubs(mTtxtinfo, lang, HI, &pid, &page); |