[libdvbpsi-devel] TS discontinuity check
Roberto Corno
git at videolan.org
Thu Aug 9 15:27:31 CEST 2012
libdvbpsi | branch: master | Roberto Corno <corno.roberto at gmail.com> | Thu Aug 9 14:52:27 2012 +0200| [d4b4906755f2ce67269e34007162ca6ae415217b] | committer: Jean-Paul Saman
TS discontinuity check
Signed-off-by: Jean-Paul Saman <jpsaman at videolan.org>
> http://git.videolan.org/gitweb.cgi/libdvbpsi.git/?a=commit;h=d4b4906755f2ce67269e34007162ca6ae415217b
---
src/tables/rst.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/tables/rst.c b/src/tables/rst.c
index d0e7759..e5e0860 100644
--- a/src/tables/rst.c
+++ b/src/tables/rst.c
@@ -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_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 */
if (!dvbpsi_rst_section_add(p_dvbpsi, p_rst_decoder, p_section))
{
More information about the libdvbpsi-devel
mailing list