From 38a5719c53da167267d152ca9a1826b36c497281 Mon Sep 17 00:00:00 2001 From: Alessandro Decina Date: Sun, 18 Dec 2011 17:32:11 +0100 Subject: [PATCH] mpegtsmux: unset the current PCR stream when starting a new unit Unset the current PCR stream when starting a new unit so that afterwards a new stream is selected as PCR and PAT and PMT tables are regenerated. --- gst/mpegtsmux/mpegtsmux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/mpegtsmux/mpegtsmux.c b/gst/mpegtsmux/mpegtsmux.c index f204d06..f4b375e 100644 --- a/gst/mpegtsmux/mpegtsmux.c +++ b/gst/mpegtsmux/mpegtsmux.c @@ -920,6 +920,7 @@ mpegtsmux_collected (GstCollectPads2 * pads, MpegTsMux * mux) program->last_pmt_ts = -1; } + tsmux_program_set_pcr_stream (prog, NULL); } } -- 2.7.4