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.
This commit is contained in:
Alessandro Decina 2011-12-18 17:32:11 +01:00
parent ee429ba7b8
commit 38a5719c53

View file

@ -920,6 +920,7 @@ mpegtsmux_collected (GstCollectPads2 * pads, MpegTsMux * mux)
program->last_pmt_ts = -1;
}
tsmux_program_set_pcr_stream (prog, NULL);
}
}