]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Remeber the pcr pid the program comes from
authorsb1066 <sb1066@gmail.com>
Wed, 7 Jul 2010 20:20:30 +0000 (20:20 +0000)
committersb1066 <sb1066@gmail.com>
Wed, 7 Jul 2010 20:20:30 +0000 (20:20 +0000)
src/streaming.h
src/transports.c

index cb0587baad982c2e40cfb81c8ebbfc3a13fe9d78..783b228a568c45cffef56d69287d03a553d34238 100644 (file)
@@ -51,6 +51,8 @@ typedef struct streaming_start {
 
   source_info_t ss_si;
 
+  uint16_t ss_pcr_pid;
+
   streaming_start_component_t ss_components[0];
 
 } streaming_start_t;
index f6134d950c2f193a8e3bfee5e5737db92c033855..4775a55caf3346e2a1abae096ad3ea7282112357 100644 (file)
@@ -813,6 +813,7 @@ transport_build_stream_start(th_transport_t *t)
   t->tht_setsourceinfo(t, &ss->ss_si);
 
   ss->ss_refcount = 1;
+  ss->ss_pcr_pid = t->tht_pcr_pid;
   return ss;
 }