PMT Decoder: sections from other multiplexes are not an error.

[email protected] (Francois Cartegnie) Mon, 16 Mar 2015 16:02:12 +0100 (CET)
Newsgroups gmane.comp.video.videolan.libdvbpsi.devel
Message-ID <[email protected]>
libdvbpsi | branch: master | Francois Cartegnie <[email protected]> | Fri Mar 13 14:37:36 2015 +0100| [4a03825b312819bc129087d5739298c08d20a176] | committer: Jean-Paul Saman

PMT Decoder: sections from other multiplexes are not an error.

Just ignore as we can't handle it.

Signed-off-by: Jean-Paul Saman <[email protected]>

> http://git.videolan.org/gitweb.cgi/libdvbpsi.git/?a=commit;h=4a03825b312819bc129087d5739298c08d20a176
---

 src/tables/pmt.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/tables/pmt.c b/src/tables/pmt.c
index 9a89f93..ce54b12 100644
--- a/src/tables/pmt.c
+++ b/src/tables/pmt.c
@@ -338,7 +338,8 @@ void dvbpsi_pmt_sections_gather(dvbpsi_t *p_dvbpsi, dvbpsi_psi_section_t* p_sect
     if (p_pmt_decoder->i_program_number != p_section->i_extension)
     {
         /* Invalid program_number */
-        dvbpsi_error(p_dvbpsi, "PMT decoder", "'program_number' don't match");
+        dvbpsi_debug(p_dvbpsi, "PMT decoder", "ignoring section %d not belonging to 'program_number' %d",
+                     p_section->i_extension, p_pmt_decoder->i_program_number);
         dvbpsi_DeletePSISections(p_section);
         return;
     }

_______________________________________________
libdvbpsi-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/libdvbpsi-devel