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 /siinfo.h | |
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 'siinfo.h')
-rw-r--r-- | siinfo.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -19,6 +19,7 @@ struct ttxtpidinfo { struct ttxtpageinfo *i; }; +// XXX should be an object instead and use c++ vectors etc struct ttxtinfo { int pidcount; struct ttxtpidinfo *p; @@ -29,8 +30,9 @@ struct ttxtinfo { * and if that fails with the VPID * return <> 0 on error; */ -int GetTtxtInfo(int device_no, uint16_t sid, uint16_t vpid, struct ttxtinfo *info); +int GetTtxtInfo(int card_no, uint16_t sid, uint16_t vpid, struct ttxtinfo *info); void FreeTtxtInfoData(struct ttxtinfo *info); +void DupTtxtInfo(struct ttxtinfo *in, struct ttxtinfo *out); struct ttxtpidinfo *FindSubs(struct ttxtinfo *info, char *lang, int HI, int *pid, int *pageno); |