[vlc-devel] commit: EPG: Don't display extra items from extended EIT events ( Marian Ďurkovič )

git version control git at videolan.org
Tue Sep 15 08:33:41 CEST 2009


vlc | branch: 1.0-bugfix | Marian Ďurkovič <md at bts.sk> | Mon Sep 14 08:25:30 2009 +0200| [e72ecc524c4283262edd62e317b675670ba0c919] | committer: Marian Ďurkovič 

EPG: Don't display extra items from extended EIT events

Info they provide is typically also present in the text or
not usefull to VLC.
(cherry picked from commit 235617299b975358d5eca95092faa43687a738b1)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e72ecc524c4283262edd62e317b675670ba0c919
---

 modules/demux/ts.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index 9f16acd..b727ad9 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -2978,13 +2978,14 @@ static void EITCallBack( demux_t *p_demux, dvbpsi_eit_t *p_eit )
                         if( psz_dsc && psz_itm )
                         {
                             msg_Dbg( p_demux, "       - desc='%s' item='%s'", psz_dsc, psz_itm );
-
+#if 0
                             psz_extra = realloc( psz_extra, strlen(psz_extra) + strlen(psz_dsc) + strlen(psz_itm) + 3 + 1 );
                             strcat( psz_extra, "(" );
                             strcat( psz_extra, psz_dsc );
                             strcat( psz_extra, " " );
                             strcat( psz_extra, psz_itm );
                             strcat( psz_extra, ")" );
+#endif
                         }
                         free( psz_dsc );
                         free( psz_itm );




More information about the vlc-devel mailing list