Diff for /multiplexer/splice.c between versions 1.3 and 1.4

version 1.3, 2001/04/30 15:58:29 version 1.4, 2001/05/02 16:27:12
Line 44  stream_descr *connect_streamprog (file_d Line 44  stream_descr *connect_streamprog (file_d
   } else {    } else {
     if (streamid < 0) {      if (streamid < 0) {
       streamid = -streamid;        streamid = -streamid;
       warn (LWAR,"Cannot refind sid",EINP,14,1,streamid);        warn (LWAR,"Cannot refind sid",ESPC,1,1,streamid);
     }      }
     s = stream;      s = stream;
   }    }
Line 159  int splice_findfreestreamid (prog_descr Line 159  int splice_findfreestreamid (prog_descr
         && (p->stream[i]->stream_id != s0)) {          && (p->stream[i]->stream_id != s0)) {
     }      }
     if (i < 0) {      if (i < 0) {
       warn (LIMP,"Found SID free",EINP,15,sid,s0);        warn (LIMP,"Found SID free",ESPC,2,sid,s0);
       return (s0);        return (s0);
     }      }
     s0 = s;      s0 = s;
     s += 1;      s += 1;
   }    }
   warn (LIMP,"Found SID",EINP,15,sid,sid);    warn (LIMP,"Found SID",ESPC,2,sid,sid);
   return (sid);    return (sid);
 }  }
   
Line 177  stream_descr *splice_findpcrstream (prog Line 177  stream_descr *splice_findpcrstream (prog
 {  {
   int i;    int i;
   pmt_descr *pmt;    pmt_descr *pmt;
   warn (LIMP,"Find PCR Stream",EINP,13,0,p->program_number);    warn (LIMP,"Find PCR Stream",ESPC,3,0,p->program_number);
   i = p->streams;    i = p->streams;
   while (--i >= 0) {    while (--i >= 0) {
     if (p->stream[i]->fdescr->content == ct_transport) {      if (p->stream[i]->fdescr->content == ct_transport) {
       pmt = p->stream[i]->fdescr->u.ts.pat;        pmt = p->stream[i]->fdescr->u.ts.pat;
       while (pmt != NULL) {        while (pmt != NULL) {
         if (pmt->pcr_pid == p->stream[i]->sourceid) {          if (pmt->pcr_pid == p->stream[i]->sourceid) {
           warn (LIMP,"Found PCR Stream",EINP,13,1,p->stream[i]->sourceid);            warn (LIMP,"Found PCR Stream",ESPC,3,1,p->stream[i]->sourceid);
           return (p->stream[i]);            return (p->stream[i]);
         }          }
         pmt = pmt->next;          pmt = pmt->next;

Removed from v.1.3  
changed lines
  Added in v.1.4


LinuxTV legacy CVS <linuxtv.org/cvs>