[dvblast-devel] demux: If ECM forwarding is enabled do not remove CA descriptors from PMT.
Doychin Dokov
dokov at silistra.tv
Tue Jan 24 14:31:51 CET 2012
I can confirm it's now working as expected:
1) When only -C is specified - no CA descriptors in output, no ECM PIDs also
2) When -Y is specified - CA descriptors present, as well as ECM PIDs
2012/1/24 Georgi Chorbadzhiyski <git at videolan.org>
> 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 */
>
> _______________________________________________
> dvblast-devel mailing list
> dvblast-devel at videolan.org
> http://mailman.videolan.org/listinfo/dvblast-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/dvblast-devel/attachments/20120124/6498d361/attachment.html>
More information about the dvblast-devel
mailing list