[libdvbpsi-devel] PMT Decoder: sections from other multiplexes are not an error.

Francois Cartegnie git at videolan.org
Mon Mar 16 16:02:12 CET 2015


libdvbpsi | branch: master | Francois Cartegnie <fcartegnie at free.fr> | 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 <jpsaman at videolan.org>

> 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;
     }



More information about the libdvbpsi-devel mailing list