]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Missed files belonging with the ts demux revamp
authorAndreas Öman <andreas@lonelycoder.com>
Mon, 28 Jan 2008 22:00:31 +0000 (22:00 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Mon, 28 Jan 2008 22:00:31 +0000 (22:00 +0000)
transports.c
tvhead.h

index d26075e2ec7a6ee3b62aa8bc33b077b429602891..816dfe78c11d6045e29ec2684e8f8f53cec55f71 100644 (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; 
index ef9c3eff818c21d1afa8c869dab0626681b90fc1..29793130ee41e6ad334f4461bd8c0440e877b07a 100644 (file)
--- a/tvhead.h
+++ b/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 */