Commit e72ecc52 authored by Marian Ďurkovič's avatar 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 23561729)
parent 852533b7
...@@ -2978,13 +2978,14 @@ static void EITCallBack( demux_t *p_demux, dvbpsi_eit_t *p_eit ) ...@@ -2978,13 +2978,14 @@ static void EITCallBack( demux_t *p_demux, dvbpsi_eit_t *p_eit )
if( psz_dsc && psz_itm ) if( psz_dsc && psz_itm )
{ {
msg_Dbg( p_demux, " - desc='%s' item='%s'", 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 ); psz_extra = realloc( psz_extra, strlen(psz_extra) + strlen(psz_dsc) + strlen(psz_itm) + 3 + 1 );
strcat( psz_extra, "(" ); strcat( psz_extra, "(" );
strcat( psz_extra, psz_dsc ); strcat( psz_extra, psz_dsc );
strcat( psz_extra, " " ); strcat( psz_extra, " " );
strcat( psz_extra, psz_itm ); strcat( psz_extra, psz_itm );
strcat( psz_extra, ")" ); strcat( psz_extra, ")" );
#endif
} }
free( psz_dsc ); free( psz_dsc );
free( psz_itm ); free( psz_itm );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment