- Timestamp:
- 11/02/13 18:29:47 (10 years ago)
- Location:
- titan/titan
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/channel.h
r24714 r24719 342 342 } 343 343 344 struct channel* createchannel(char* name, uint64_t transponderid, int providerid, int serviceid, int servicetype, int flag, int videocodec, int audiocodec, int videopid, int audiopid, int protect )344 struct channel* createchannel(char* name, uint64_t transponderid, int providerid, int serviceid, int servicetype, int flag, int videocodec, int audiocodec, int videopid, int audiopid, int protect, int pcrpid) 345 345 { 346 346 struct channel* chnode = NULL; … … 368 368 tmpstr = ostrcat(tmpstr, "#", 1, 0); 369 369 tmpstr = ostrcat(tmpstr, oitoa(protect), 1, 1); 370 tmpstr = ostrcat(tmpstr, "#", 1, 0); 371 tmpstr = ostrcat(tmpstr, oitoa(pcrpid), 1, 1); 370 372 371 373 chnode = addchannel(tmpstr, 1, NULL); -
titan/titan/header.h
r24718 r24719 372 372 //channel.h 373 373 int writechannel(const char *filename); 374 struct channel* createchannel(char* name, uint64_t transponderid, int providerid, int serviceid, int servicetype, int flag, int videocodec, int audiocodec, int videopid, int audiopid, int protect );374 struct channel* createchannel(char* name, uint64_t transponderid, int providerid, int serviceid, int servicetype, int flag, int videocodec, int audiocodec, int videopid, int audiopid, int protect, int pcrpid); 375 375 void delchannelbytransponder(uint64_t transponderid); 376 376 struct channel* gettmpchannel(); -
titan/titan/hwtest.h
r22821 r24719 70 70 int serviceid = 0; 71 71 int8_t videocodec = 0, audiocodec = 0; 72 int16_t videopid = 0, audiopid = 0 ;72 int16_t videopid = 0, audiopid = 0, pcrpid = 0; 73 73 74 74 char* tmpstr = NULL, *tmpstr1 = NULL; … … 96 96 else 97 97 { 98 int ret = sscanf(tmpstr1, "%d#%"SCNu8"#%"SCNu8"#%"SCNu16"#%"SCNu16 , &serviceid, &videocodec, &audiocodec, &videopid, &audiopid);99 if(ret != 5)98 int ret = sscanf(tmpstr1, "%d#%"SCNu8"#%"SCNu8"#%"SCNu16"#%"SCNu16"#%"SCNu16, &serviceid, &videocodec, &audiocodec, &videopid, &audiopid, &pcrpid); 99 if(ret != 6) 100 100 textbox(_("Message"), _("testchannel entry not ok"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0); 101 101 else 102 102 { 103 chnode = createchannel("testchannel", tpid, 0, serviceid, 99, 0, videocodec, audiocodec, videopid, audiopid, 0 );103 chnode = createchannel("testchannel", tpid, 0, serviceid, 99, 0, videocodec, audiocodec, videopid, audiopid, 0, pcrpid); 104 104 if(chnode == NULL) 105 105 textbox(_("Message"), _("can't create new channel"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0); -
titan/titan/player.h
r24101 r24719 122 122 123 123 delchannel(serviceid, 0, 1); 124 chnode = createchannel("player", 0, 0, serviceid, 99, 0, -1, -1, -1, -1, 0 );124 chnode = createchannel("player", 0, 0, serviceid, 99, 0, -1, -1, -1, -1, 0, -1); 125 125 if(chnode != NULL) chnode->pmtpid = pmtpid; 126 126 } -
titan/titan/scan.h
r24284 r24719 1293 1293 if(chnode == NULL) 1294 1294 { 1295 if(createchannel(node->param2, transponderid, providerid, serviceid, servicetype, 0, -1, -1, -1, -1, 0 ) != NULL)1295 if(createchannel(node->param2, transponderid, providerid, serviceid, servicetype, 0, -1, -1, -1, -1, 0, -1) != NULL) 1296 1296 node->fontcol = convertcol("deaktivcol"); 1297 1297 }
Note: See TracChangeset
for help on using the changeset viewer.