From 6c0f240e5eae1ae4edb3d3ba37a752a287f6df06 Mon Sep 17 00:00:00 2001 From: sb1066 Date: Wed, 7 Jul 2010 20:20:30 +0000 Subject: [PATCH] Remeber the pcr pid the program comes from --- src/streaming.h | 2 ++ src/transports.c | 1 + 2 files changed, 3 insertions(+) diff --git a/src/streaming.h b/src/streaming.h index cb0587ba..783b228a 100644 --- a/src/streaming.h +++ b/src/streaming.h @@ -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; diff --git a/src/transports.c b/src/transports.c index f6134d95..4775a55c 100644 --- a/src/transports.c +++ b/src/transports.c @@ -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; }