[dvblast-devel] demux: If ECM forwarding is enabled do not remove CA descriptors from PMT.

Georgi Chorbadzhiyski git at videolan.org
Tue Jan 24 14:29:37 CET 2012


dvblast | branch: master | Georgi Chorbadzhiyski <gf at unixsol.org> | Tue Jan 24 15:05:36 2012 +0200| [74535ccf24ef146549a1c75c3e10441045cd214b] | committer: Georgi Chorbadzhiyski

demux: If ECM forwarding is enabled do not remove CA descriptors from PMT.

This fixes regression against version 2.0.

Reported-By: JULIAN GARDNER <joolzg at btinternet.com>
Signed-Off-By: Georgi Chorbadzhiyski <georgi at unixsol.org>

> http://git.videolan.org/gitweb.cgi/dvblast.git/?a=commit;h=74535ccf24ef146549a1c75c3e10441045cd214b
---

 demux.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/demux.c b/demux.c
index 0ab24c2..e3bfb26 100644
--- a/demux.c
+++ b/demux.c
@@ -1175,7 +1175,7 @@ static void CopyDescriptors( uint8_t *p_descs, uint8_t *p_current_descs )
         uint8_t i_tag = desc_get_tag( p_current_desc );
 
         j++;
-        if ( b_enable_ecm && i_tag == 0x9 ) continue;
+        if ( !b_enable_ecm && i_tag == 0x9 ) continue;
 
         p_desc = descs_get_desc( p_descs, k );
         if ( p_desc == NULL ) continue; /* This shouldn't happen */



More information about the dvblast-devel mailing list