Commit d4b49067 authored by Roberto Corno's avatar Roberto Corno Committed by Jean-Paul Saman

TS discontinuity check

Signed-off-by: default avatarJean-Paul Saman <jpsaman@videolan.org>
parent 9bb01dd1
...@@ -361,6 +361,13 @@ void dvbpsi_rst_sections_gather(dvbpsi_t *p_dvbpsi, ...@@ -361,6 +361,13 @@ void dvbpsi_rst_sections_gather(dvbpsi_t *p_dvbpsi,
dvbpsi_rst_decoder_t* p_rst_decoder dvbpsi_rst_decoder_t* p_rst_decoder
= (dvbpsi_rst_decoder_t*)p_dvbpsi->p_decoder; = (dvbpsi_rst_decoder_t*)p_dvbpsi->p_decoder;
/* TS discontinuity check */
if (p_rst_decoder->b_discontinuity)
{
dvbpsi_rst_reset(p_rst_decoder, true);
p_rst_decoder->b_discontinuity = false;
}
/* Add section to RST */ /* Add section to RST */
if (!dvbpsi_rst_section_add(p_dvbpsi, p_rst_decoder, p_section)) if (!dvbpsi_rst_section_add(p_dvbpsi, p_rst_decoder, p_section))
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment