Missed files belonging with the ts demux revamp

This commit is contained in:
Andreas Öman 2008-01-28 22:00:31 +00:00
parent a1785d95c2
commit cc873357a6
2 changed files with 5 additions and 1 deletions

View file

@ -105,7 +105,7 @@ transport_stop(th_transport_t *t, int flush_subscriptions)
st->st_buffer = NULL;
st->st_buffer_size = 0;
st->st_buffer_ptr = 0;
st->st_startcode = 0;
/* Clear DTS queue */
@ -162,6 +162,8 @@ transport_start(th_transport_t *t, unsigned int weight)
LIST_FOREACH(st, &t->tht_streams, st_link) {
st->st_startcond = 0xffffffff;
st->st_dts = AV_NOPTS_VALUE;
st->st_last_dts = 0;
st->st_dts_u = 0;

View file

@ -293,6 +293,8 @@ typedef struct th_stream {
int st_buffer_ptr;
int st_buffer_size;
int st_buffer_errors; /* Errors accumulated for this packet */
uint32_t st_startcond;
uint32_t st_startcode;
/* DTS generator */