version 1.2, 2001/03/29 13:27:43
|
version 1.3, 2001/04/03 21:14:33
|
Line 18
|
Line 18
|
#include "pes.h" |
#include "pes.h" |
#include "ps.h" |
#include "ps.h" |
#include "input.h" |
#include "input.h" |
|
#include "splice.h" |
#include "descref.h" |
#include "descref.h" |
#include "splitpes.h" |
#include "splitpes.h" |
#include "splitps.h" |
#include "splitps.h" |
Line 80 static int ps_pack_header (file_descr *f
|
Line 81 static int ps_pack_header (file_descr *f
|
f->u.ps.ph.scr.ext = ((a & 0x03) << 7) | (b >> 1); |
f->u.ps.ph.scr.ext = ((a & 0x03) << 7) | (b >> 1); |
warn (LSEC,"SCR ext",EPST,2,4,f->u.ps.ph.scr.ext); |
warn (LSEC,"SCR ext",EPST,2,4,f->u.ps.ph.scr.ext); |
f->u.ps.ph.scr.valid = TRUE; |
f->u.ps.ph.scr.valid = TRUE; |
/* |
|
f->u.ps.stream[0]->u.m.msectime = clockref2msec (f->u.ps.ph.scr); |
|
*/ |
|
cref2msec (&f->u.ps.stream[0]->u.m.conv, |
cref2msec (&f->u.ps.stream[0]->u.m.conv, |
f->u.ps.ph.scr, |
f->u.ps.ph.scr, |
&f->u.ps.stream[0]->u.m.msectime); |
&f->u.ps.stream[0]->u.m.msectime); |
Line 420 static boolean ps_data_stream (file_desc
|
Line 418 static boolean ps_data_stream (file_desc
|
c->sequence = f->sequence++; |
c->sequence = f->sequence++; |
c->scramble = 0; |
c->scramble = 0; |
c->msecread = msec_now (); |
c->msecread = msec_now (); |
/* c->time.push = f->u.ps.time.read;*//* good if multi packages per pack ? */ |
|
c->msecpush = f->u.ps.stream[0]->u.m.msectime; |
c->msecpush = f->u.ps.stream[0]->u.m.msectime; |
c->pcr.valid = FALSE; |
c->pcr.valid = FALSE; |
c->opcr.valid = FALSE; |
c->opcr.valid = FALSE; |