Missed files belonging with the ts demux revamp
This commit is contained in:
parent
a1785d95c2
commit
cc873357a6
2 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
|
|
2
tvhead.h
2
tvhead.h
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue